Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
ParseError :: String -> ParseErrorstreamly-core Streamly.Internal.Data.Parser No documentation available.
-
streamly-core Streamly.Internal.Data.Parser This exception is used when a parser ultimately fails, the user of the parser is intimated via this exception. Pre-release
ParseError :: String -> ParseErrorstreamly-core Streamly.Internal.Data.Parser No documentation available.
data
Parser a (m :: Type -> Type) bstreamly-core Streamly.Internal.Data.Parser A parser is a fold that can fail and is represented as Parser step initial extract. Before we drive a parser we call the initial action to retrieve the initial state of the fold. The parser driver invokes step with the state returned by the previous step and the next input element. It results into a new state and a command to the driver represented by Step type. The driver keeps invoking the step function until it stops or fails. At any point of time the driver can call extract to inspect the result of the fold. If the parser hits the end of input extract is called. It may result in an error or an output value. Pre-release
-
streamly-core Streamly.Internal.Data.Parser No documentation available.
data
Parser a (m :: Type -> Type) bstreamly-core Streamly.Internal.Data.Parser A parser is a fold that can fail and is represented as Parser step initial extract. Before we drive a parser we call the initial action to retrieve the initial state of the fold. The parser driver invokes step with the state returned by the previous step and the next input element. It results into a new state and a command to the driver represented by Step type. The driver keeps invoking the step function until it stops or fails. At any point of time the driver can call extract to inspect the result of the fold. If the parser hits the end of input extract is called. It may result in an error or an output value. Pre-release
-
streamly-core Streamly.Internal.Data.Parser No documentation available.
Partial :: Int -> s -> Step s bstreamly-core Streamly.Internal.Data.Parser Partial count state. The following hold on Partial result:
- extract on state would succeed and give a result.
- Input stream position is reset to current position - count.
- All input before the new position is dropped. The parser can never backtrack beyond this position.
Partial :: Int -> s -> Step s bstreamly-core Streamly.Internal.Data.Parser Partial count state. The following hold on Partial result:
- extract on state would succeed and give a result.
- Input stream position is reset to current position - count.
- All input before the new position is dropped. The parser can never backtrack beyond this position.
module Streamly.Internal.Data.
ParserK No documentation available.