Control.Monad proposal: Add whenJust

Edward Kmett ekmett at gmail.com
Wed May 22 16:56:59 CEST 2013


I would be happy to see a libraries request that proposed removing all the
re-exports from the next major release of mtl.

I've never been a fan of the current approach. It makes is so if you need
to hide something you need to hide it from up 10 sources some times.


On Wed, May 22, 2013 at 12:38 AM, Mark Lentczner
<mark.lentczner at gmail.com>wrote:

>
> On Thu, May 16, 2013 at 1:51 AM, Henning Thielemann <
> lemming at henning-thielemann.de> wrote:
>
>> 3. I switched to 'transformers' completely long ago. It does not
>> re-export any monad helper functions.
>>
>
> This! I know it's off-topic but: I did the same. MTL has some nice
> features... it wasn't worth the hell of it's re-exports.
> Re-exporting is the devil's work, I say!
>
> - Mark
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20130522/3b061a37/attachment.htm>


More information about the Libraries mailing list