Proposal: add ifM and whenM to Control.Monad

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Mon Apr 21 09:58:56 UTC 2014


On Mon, Apr 21, 2014 at 11:35:49AM +0200, Mario Pastorelli wrote:
> This is the second time that I read about `bool` but I can't find
> it. Can somebody provide a link to it? mbool can be a solution, but
> not as intuitive as mif.

It's new.

    https://www.fpcomplete.com/hoogle?q=bool&env=ghc-7.8-unstable

    http://haddocks.fpcomplete.com/fp/7.7/20131212-1/base/Data-Bool.html#v:bool


More information about the Libraries mailing list