Word8-Based IO

Ashley Yakeley ashley@semantic.org
Thu, 22 Aug 2002 02:34:02 -0700


At 2002-08-21 02:34, Simon Marlow wrote:

>I'd go for hGetWord8, hLookAheadWord8 and so on, but it's not a big
>deal.

Yeah you're right. Plus I got confused with lists and arrays.

>>   hLazyGetArray :: Handle -> IO [Word8]
>
>Other suggestions: hGetContentsRaw, hGetWord8Contents

hGetContents is the only lazy IO function isn't it? I don't really 
approve of lazy IO and I was hoping to stigmatise the name with "lazy" 
much as the unsafe functions have "unsafe".

-- 
Ashley Yakeley, Seattle WA