
30 May
2009
30 May
'09
11:09 a.m.
On Saturday 30 May 2009 03:10:11 Bryan O'Sullivan wrote:
On Fri, May 29, 2009 at 5:04 PM, Bartosz Wójcik
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.
OK, thats clear. BTW: reading RWH I could not memorize what those liftM funtions meant. Best, Bartek