| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Text.Chatty.Parser.Nondeterministic
Description
Provides a nondeterministic ChParser instance.
Documentation
A nondeterministic parsing monad. Works by keeping multiple forks until they fail. May return multiple solutions. First parameter should be an instance of MonadPlus and Foldable.
feedForkerT1 :: (MonadPlus m, Foldable m) => Char -> ForkerT m a -> ForkerT m a Source
Feed the ForkerT with a single input character.