Re: openFile and text mode vs. binary mode

10 Jun
2003
10 Jun
'03
6:27 a.m.
At 10:33 10/06/03 +0100, Simon Marlow wrote:
hSetBinaryMode :: Handle -> Bool -> IO ()
What (of any real value) is lost by fixing the IO mode at the point of
obtaining the handle? I'm guessing that having an option to change the
mode later may at best create additional work, and maybe even create
inconsistencies in behaviours on different systems.
#g
-------------------
Graham Klyne
8015
Age (days ago)
8015
Last active (days ago)
0 comments
1 participants
participants (1)
-
Graham Klyne