Raw I/O library proposal, second (more pragmatic) draft

Tom Pledger Tom.Pledger@peace.com
Thu, 7 Aug 2003 10:42:11 +1200

Ashley Yakeley writes:
 | >     streamGet      :: s -> IO Word8
 | What does this return after the last byte has been read?  What does
 | this return for an empty file?

How about throwing an IOError instead of returning anything?