Scalaz’s `Foldable` has two variants of partitioning methods, named `splitWith` and `selectSplit`: https://github.com/scalaz/scalaz/blob/series/7.3.x/core/src/main/scala/scalaz/Foldable.scala#L303-L351