Add voidM to Control.Monad

Simon Hengel sol at typeful.net
Mon Jan 16 19:05:15 CET 2012


> We would be better off adding Functor instances for the Monads in
> question.

In general I agree.  In the particular case of HtmlM I'm not sure if
that would make things better.**

Cheers,
Simon

** I'm not arguing for voidM here.  I, personally, would just use
(_ <- foo) or -fno-warn-unused-do-bind in that particular case.



More information about the Libraries mailing list