
5 Dec
2014
5 Dec
'14
10:38 p.m.
On Fri, Dec 5, 2014 at 5:33 PM, Joachim Breitner
Hi,
Am Freitag, den 05.12.2014, 14:09 -0800 schrieb Eric Mertens:
Would it be significantly better than just having/using the following definition?
unzipF :: Functor f => f (a, b) -> (f a, f b) unzipF x = (fmap fst x, fmap snd x)
yes, I guess that would be sufficient. Something for Data.Functor?
This looks like it should be the default implementation of an Unzippable class, rather than a standalone function.