Updated cosas imports; improved Flatten
Merge branch 'experiment/arities/containers' of https://github.com/ohnosequences/scarph into experiment/arities/containers