
18 Jul
2005
18 Jul
'05
7:53 a.m.
Hi, Could anyone explain for me why its not possible to return a primitive type (such as Integer, String) while doing some IO actions ?
e.g: foo :: IO() -> String
What does it have to do with "lazy evalution" paradigm ?
As there are people who can explain it better than me, just take a look at this Hawiki page: http://haskell.org/hawiki/UsingIo Regards, Jens