
27 Oct
2008
27 Oct
'08
4:47 a.m.
Bulat Ziganshin
Hello Albert,
Saturday, October 25, 2008, 9:02:14 PM, you wrote:
u = (putStrLn . show . last $ list) >> (putStrLn . show . head $ list) where list = [1..10^8::Int]
i prefer to write it as
main = do let list = [1..10^8] print (last list) print (head list)
Don't you slam pointless style! -- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or quoting of this signature prohibited.