Magicloud Magiclouds <magicloud.magiclo...@gmail.com> wrote: > Message: 26 > Date: Sat, 14 Nov 2009 01:11:27 +0800 > From: Magicloud Magiclouds <magicloud.magiclo...@gmail.com> > Subject: Re: [Haskell-cafe] Could someone teach me why we use > Data.Monoid? > To: Stephen Tetley <stephen.tet...@gmail.com> > Cc: haskell-cafe <haskell-cafe@haskell.org> > Message-ID: > <3bd412d40911130911v4f3ac0b9laebca79f59214...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > That is OK. Since understand the basic concept of monoid (I mean the > thing in actual math), the idea here is totally not hard for me. But > the sample here does not show why (or how) we use it in programming, > right?
For an example of it's use, you might enjoy reading my article in the Monad.Reader "How to Refold a Map." > http://www.haskell.org/sitewiki/images/6/6a/TMR-Issue11.pdf Cheers, David _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe