| Safe Haskell | Safe-Inferred |
|---|
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 aSource
Feed the ForkerT with a single input character.