Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
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.