[Haskell] Re: state of HaXml?

Norman Ramsey nr at eecs.harvard.edu
Sat Dec 30 19:44:52 EST 2006


 > 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


More information about the Haskell mailing list