Re: [Haskell-cafe] Re: Stream processors

No, my stream processors currently have the API I described
My point was... using the IO library I posted which abstracts the buffer management, you can treat the IO as a simple list... so you don't need to manage the buffers as such and you can use a simple stream processor like:
process :: [a] -> [a]
But of course you have to use the List class operators so that would become: process:: List l a => l a -> l a Keean.

K P SCHUPKE writes:
My point was... using the IO library I posted which abstracts the buffer management, you can treat the IO as a simple list...
Do you happen to have a ready-to-run word-counting example for me which is based on your library? I've tried to compile the code you posted, but GHC won't let me use hGetIList with the following error: No instance for (ListPlus l UArray Int Word8) arising from use of `hGetIList' at /tmp/test.hs:82:7-15 I'd be interested in comparing the performance of IList with the I/O library I've written. Peter
participants (2)
-
MR K P SCHUPKE
-
Peter Simons