Thats the most ugly code I've ever seen. If I didn't know it prints 1 to 10 then I'd be lost in days of analysis trying to figure it out. Sucks. Whats wrong with justCode:main = foldr((>>) . putStrLn . show)(return ())([1 .. 10]);
Also WTF is the return() HAH who ever writes this crap?Code:[1 .. 10]