
31 Aug
2015
31 Aug
'15
2:03 p.m.
That sounds reasonable.
On Aug 31, 2015 1:54 PM, "Fermin Reig"
We could generalise:
mconcat:: [a] -> a mconcat = foldr mappend memtpy
to:
mconcat:: Foldable t => t a -> a mconcat = foldr mappend memtpy -- even -- mconcat = fold
Fermin
PS: I cannot find a proposal for this in the archives, apologies if it's been raised before and I missed it. _______________________________________________ Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries