Proposal: Adding Kleisli composition to Control.Monad

Aaron Denney wnoise at ofb.net
Fri Nov 17 13:03:30 EST 2006


On 2006-11-17, Bulat Ziganshin <bulat.ziganshin at gmail.com> wrote:
> foreach = flip mapM
> for = flip mapM_
> on = flip when
> forever = sequence_ . repeat
> new = newIORef
> (=:) = writeIORef
> ......
>
> i'm pretty sure that for novices learning Haskell studying these names
> will be much simpler than studying Monad concepts and so on

Which will eventually handicap them.

-- 
Aaron Denney
-><-



More information about the Libraries mailing list