[Haskell-cafe] IO Monad

Dinh Tien Tuan Anh tuananhbirm at hotmail.com
Mon Jul 18 07:28:09 EDT 2005

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 ?


Want to block unwanted pop-ups? Download the free MSN Toolbar now!  

More information about the Haskell-Cafe mailing list