Control.Monad proposal: Add whenJust
haskell at benmachine.co.uk
Wed May 15 16:25:53 CEST 2013
On Wed, May 15, 2013 at 08:01:52AM +0300, Roman Cheplyaka wrote:
>* Ben Millwood <haskell at benmachine.co.uk> [2013-05-12 10:11:01+0100]
>> You can mostly minimise harm by only hiding specific things, but
>> that's still more effort than I feel like I should have to go to. I
>> think if we decide that the Foldable approach is useful enough to go
>> in base, we should not make it a second-class citizen.
>... except it is in base already :)
Yeah, sorry, to clarify: *since* we think it is important enough to go
in base, we should make it easy to use as well.
More information about the Libraries