Adding swap/compose functions to Data.Tuple and Data.Function

Dan Burton danburton.email at gmail.com
Tue Nov 20 21:09:18 CET 2012


>
> It does seem that the idiom deserves a name, though, considering
> how often I've come across it.


The name for this is clearly mconcat, we just have to indicate *which* mconcat
it is: the mconcat a la Endofunctors and Kleisli... whatevers,
respectively. It seems like this sort of thing should be handled by the
"newtype" package, but I can't seem to wrangle it into submission.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20121120/b000d2d9/attachment.htm>


More information about the Libraries mailing list