[Haskell-cafe] IO Help

Henning Thielemann lemming at henning-thielemann.de
Thu May 8 10:20:32 EDT 2008


On Thu, 8 May 2008, Mark Wallsgrove wrote:

> Thank you very much for your fast response!
>
> Ok, that is now changed, but everything else in my program is expecting 
> Catalogue without IO. Is there a way to change IO Catalogue into Catalogue?

Yes, but you do not want that. You will go on writing functions which 
consume Catalogue and finally you will apply a Catalogue function in the 
IO monad which does all the work at once.


More information about the Haskell-Cafe mailing list