[Haskell-cafe] Alternative versus Monoid

Gregory Crosswhite gcrosswhite at gmail.com
Sat Dec 17 06:28:15 CET 2011


On Dec 17, 2011, at 2:57 PM, Gregory Crosswhite wrote:

> +1 for this idea, because it follows the principle of least surprise.

Sorry about the double-post!  I was foolish enough not only to use unsafePerformIO to send my e-mail, but to forgot to mark the sending routine with NOINLINE pragma.  As a result, the sending action was sparked and run twice by the runtime environment.

Cheers,
Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111217/d04ae22a/attachment.htm>


More information about the Haskell-Cafe mailing list