Portability | portable |
---|---|
Maintainer | jmillikin@gmail.com |
- parseBytesIO :: MonadIO m => Enumeratee ByteString Event m b
- parseBytesST :: Enumeratee ByteString Event (ST s) b
- data GeneratorConfig = GeneratorConfig {}
- data GeneratorError
- generateBytesIO :: MonadIO m => GeneratorConfig -> Enumeratee Event ByteString m b
- generateTextIO :: MonadIO m => GeneratorConfig -> Enumeratee Event Text m b
- generateBytesST :: GeneratorConfig -> Enumeratee Event ByteString (ST s) b
- generateTextST :: GeneratorConfig -> Enumeratee Event Text (ST s) b
Parsing
parseBytesIO :: MonadIO m => Enumeratee ByteString Event m bSource
Requires input to be in UTF-8
parseBytesST :: Enumeratee ByteString Event (ST s) bSource
Requires input to be in UTF-8
Generating
data GeneratorConfig
GeneratorConfig | |
|
data GeneratorError
If an error is encountered when generating data, a GeneratorError
will be thrown.
With the exception of MaximumDepthExceeded
, this is usually due to
incorrect use of the library.
generateBytesIO :: MonadIO m => GeneratorConfig -> Enumeratee Event ByteString m bSource
generateTextIO :: MonadIO m => GeneratorConfig -> Enumeratee Event Text m bSource
generateBytesST :: GeneratorConfig -> Enumeratee Event ByteString (ST s) bSource
generateTextST :: GeneratorConfig -> Enumeratee Event Text (ST s) bSource