> The simplest thing is to use readFile (from the Prelude) instead of
 > using handles. readFile will take care of everything for you when the
 > time is right.

Thanks---I'll try it.  Somehow my hoogle query missed readFile...
undoubtedly because I asked for 'String -> IO String' instead
of 'FilePath -> IO String'.  Dunno if this is a bug or a feature,
since as far as the compiler is concerned, FilePath and String are the
same type...


Norman
_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to