Proposal: Adding Kleisli composition to Control.Monad

John Meacham john at repetae.net
Mon Nov 13 05:02:36 EST 2006


On Mon, Nov 13, 2006 at 02:27:12PM +1100, Donald Bruce Stewart wrote:
> I'm we're going to use this forever more, then a name more meaningful
> than repeatM_ might be appropriate (personally, I have to check every
> time whether it is replicate or repeat that is :: Int -> a -> [a]).

now it will be three times easier to remember, as you only need to
remember what one of repeat, repeatM, and repeatM_ do to easily
determine what the other two do. standard naming conventions are very
nice when they fit so well, as they do in this case.

        John

-- 
John Meacham - ⑆repetae.net⑆john⑈


More information about the Libraries mailing list