-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
what do you think about adding
trait Functor[F[_]]{
def unzip[A, B](fab: F[(A, B)]): (F[A], F[B]) = (fab.map(_._1), fab.map(_._2))
}
potentially we could have optimised version per type
reference https://hackage.haskell.org/package/base-4.12.0.0/docs/Data-List-NonEmpty.html#v:unzip
kailuowang, joroKr21 and morgen-peschkestephen-lazaro
Metadata
Metadata
Assignees
Labels
No labels