System.Posix.IO.ByteString
Erik de Castro Lopo
mle+hs at mega-nerd.com
Sun Jan 11 00:15:34 UTC 2015
Hi All,
I'm playing around with some low level IO and found the following
function:
System.Posix.IO.fdRead :: Fd -> ByteCount -> IO (String, ByteCount)
Ok, close, but what if I need a ByteString instead. I then found this:
System.Posix.IO.ByteString.fdRead :: Fd -> ByteCount -> IO (String, ByteCount)
which is identical to the one above. The ByteString in the module name
suggests it would be using ByteString instead of String?
Can anyone explain this for me?
Cheers,
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the Libraries
mailing list