Is it possible to build in a file in a haskell program??
Derek Elkins
ddarius@hotpop.com
Wed, 30 Apr 2003 10:27:32 -0400
On Wed, 30 Apr 2003 15:56:04 +0200
"Alexandre Weffort Thenorio" <alethenorio@home.se> wrote:
> Yes you are right (I tested with openFile in TextMode) but as far as I
> can see openFile cannot be changed to any other mode than TextMode
> thus openFile does not work with binary files (.bin) whereas
> openFileEx can be set to BinaryMode instead of TextMode which gives me
> the right output. Thanks for pointing it out. Why isn't IO and IOExts
> put together in one library. For example functions like openFile can
> be rewritten to work the same way as openFileEx thus eliminating one
> function and making it easier for the user not to have to compile the
> program with lang package.
>
> Best Regards
>
> NooK
IO is Standard Haskell 98, IOExts are extensions (i.e.non-standard).