iteratee-0.2.3: Iteratee-based I/OSource codeContentsIndex
Data.Iteratee
Description

Provide iteratee-based IO as described in Oleg Kiselyov's paper http:okmij.orgftpHaskellIteratee.

Oleg's original code uses lists to store buffers of data for reading in the iteratee. This package allows the use of arbitrary types through use of the StreamChunk type class. See Data.Iteratee.WrappedByteString for implementation details.

Synopsis
module Data.Iteratee.Base
module Data.Iteratee.Binary
fileDriver :: ReadableChunk s el => IterateeG s el IO a -> FilePath -> IO a
fileDriverRandom :: ReadableChunk s el => IterateeG s el IO a -> FilePath -> IO a
Documentation
module Data.Iteratee.Base
module Data.Iteratee.Binary
fileDriver :: ReadableChunk s el => IterateeG s el IO a -> FilePath -> IO aSource
Process a file using the given IterateeG. This function wraps enumFd as a convenience.
fileDriverRandom :: ReadableChunk s el => IterateeG s el IO a -> FilePath -> IO aSource
Process a file using the given IterateeG. This function wraps enumFdRandom as a convenience.
Produced by Haddock version 2.6.0