[Haskell-cafe] IO Monad

Jens Fisseler jens.fisseler at fernuni-hagen.de
Mon Jul 18 07:53:03 EDT 2005


> 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


More information about the Haskell-Cafe mailing list