Data.Iteratee

| iteratee-0.3.5: Iteratee-based I/O | Contents | Index
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 :: (MonadIO m, ReadableChunk s el) => IterateeG s el m a -> FilePath -> m a
fileDriverRandom :: (MonadIO m, ReadableChunk s el) => IterateeG s el m a -> FilePath -> m a
Documentation
module Data.Iteratee.Base
module Data.Iteratee.Binary
fileDriver :: (MonadIO m, ReadableChunk s el) => IterateeG s el m a -> FilePath -> m a
Process a file using the given IterateeG. This function wraps enumFd as a convenience.
fileDriverRandom :: (MonadIO m, ReadableChunk s el) => IterateeG s el m a -> FilePath -> m a
Process a file using the given IterateeG. This function wraps enumFdRandom as a convenience.
Produced by Haddock version 2.7.2