
5 Dec
2014
5 Dec
'14
10:17 p.m.
On Dec 5, 2014 5:09 PM, "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)
It probably depends on how it's being used. Your way potentially does two passes, and may keep some things live longer than necessary.