
25 Aug
2006
25 Aug
'06
8:58 a.m.
Who can advise, please, is this for sure that the program \ x -> [f y | y <- g x] is not more expensive in computation than \ x -> let ys = g x in [f y | y <- ys] ? May the difference depend on Haskell implementation? (I suspect that compilers convert one of these programs to another). Thank you in advance for explanation. ----------------- Serge Mechveliani mechvel@botik.ru