Magicloud Magiclouds <[email protected]> wrote: > Message: 26 > Date: Sat, 14 Nov 2009 01:11:27 +0800 > From: Magicloud Magiclouds <[email protected]> > Subject: Re: [Haskell-cafe] Could someone teach me why we use > Data.Monoid? > To: Stephen Tetley <[email protected]> > Cc: haskell-cafe <[email protected]> > Message-ID: > <[email protected]> > 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 [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
