On Tue, Jan 30, 2007 at 09:52:01AM +1100, Donald Bruce Stewart wrote: > ross: > > why do you need a Put monad, which always seems to have > > the argument type ()? Monoids really are underappreciated. > > For the syntax, and So that people can directly port their code from > NewBinary. (The instances are basically unchanged).
And so the successor to binary must have the same interface, and so on forever. The backward compatibility argument seems weak to me, leaving only the advantage of do-notation. Monads are the new lists. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe