machines-attoparsec-0: Parse machines streams with attoparsec parsers.
Data.Machine.Attoparsec.Text
parse :: forall m a. Monad m => Parser a -> MachineT m (Stack Text) (Either String a) Source #
Parse one a out of a stream of Text, or an error when a parser fails. - The stack allows one to have a sequence of parsers that pick up where the last left off.
a
many :: forall m a. Monad m => Parser a -> MachineT m (Stack Text) (Either String a) Source #
Parse a continuous stream of as out of a Text stream.