Can you please give me some hint to solve this problem? I'm a beginning haskell developer and I'm still a bit confused by the IO monad.
Other people have explained to the OP why unsafe lazy IO is breaking his code.
Yet another piece of evidence, in my opinion, that unsafe-lazy-by-default is the wrong basic API. Provide that API as an option, sure. But as a default? Not IMO.
Jules _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe