Binary IO
Simon Marlow
simonmar at microsoft.com
Fri Apr 22 06:44:26 EDT 2005
On 22 April 2005 11:42, Henning Thielemann wrote:
> On Fri, 22 Apr 2005, Simon Marlow wrote:
>
>> Does anyone have any *objections* to introducing
>>
>> System.IO.hGetWord8 :: Handle -> IO Word8
>> System.IO.hPutWord8 :: Word8 -> Handle -> IO Word8
>
> Sorry, I didn't follow the thread ... what about
> System.IO.hPutWord8 :: Handle -> Word8 -> IO ()
> that is, switched argument order and no result
duh, sorry. Yes, that's the right type.
> Will there be function names without 'h' prefix but qualification in
> future, e.g. System.IO.Binary.Handle.putWord8 ?
I think this is something for the next-generation I/O library.
Cheers,
Simon
More information about the Libraries
mailing list