On Fri, May 29, 2009 at 5:04 PM, Bartosz Wójcik <[email protected]> wrote:


> I don't undersdand what is being missed.
>

Brevity.


> liftM f m1              = do { x1 <- m1; return (f x1) }
> so
> liftM fromIntegral integer
> will result the same.


Yes, and there's less code to read if you use liftM or <$>, hence fewer
moving parts to understand.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to