Signature of Control.Monad when and unless
Stephen Tetley
stephen.tetley at gmail.com
Fri Aug 24 14:24:56 CEST 2012
Hasn't `void` recently been added to Base so that you can discard the
result of any monadic action?
> when True (void actionWithAnswer)
On 24 August 2012 10:12, Oren Ben-Kiki <haskell-oren at ben-kiki.org> wrote:
[CUT]
>
> That is, I agree that results shouldn't be discarded "by default", but it
> should be easy to get rid of them if they are unneeded.
More information about the Libraries
mailing list