|
Data.Enumerator.Text | Portability | portable | Maintainer | jmillikin@gmail.com |
|
|
|
|
|
Description |
Enumerator-based text IO
|
|
Synopsis |
|
|
|
|
Enumerators and iteratees
|
|
|
Read lines of text from the handle, and stream them to an Iteratee.
If an exception occurs during file IO, enumeration will stop and Error
will be returned. Exceptions from the iteratee are not caught.
The handle should be opened with an appropriate text encoding, and
in ReadMode or ReadWriteMode.
|
|
|
Opens a file path in text mode, and passes the handle to enumHandle.
The file will be closed when the Iteratee finishes.
|
|
|
Read text from a stream and write it to a handle. If an exception
occurs during file IO, enumeration will stop and Error will be
returned.
The handle should be opened with an appropriate text encoding, and
in WriteMode or ReadWriteMode.
|
|
Codecs
|
|
|
Instances | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Produced by Haddock version 2.6.0 |