[Proposal] Add default implementation of mappend/mempty in terms of mconcat

Joachim Breitner mail at joachim-breitner.de
Mon Jan 27 12:23:08 UTC 2014


Hi,

Am Montag, den 27.01.2014, 11:42 +0100 schrieb Sjoerd Visscher:
> This seems rather pointless; I’m having trouble coming up with an
> example where mconcat would be easier or more elegant to implement. Do
> you have an example?

maybe cases where you implement mconcat for performance reasons anyways
(but are there good examples for that?), and then you don’t want to be
bothered with the simple cases....

Greetings,
Joachim

-- 
Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0x4743206C
  Debian Developer: nomeata at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/libraries/attachments/20140127/4ab83e35/attachment.sig>


More information about the Libraries mailing list