mini-ml-0.1.0.0: MiniML compiler
Safe HaskellSafe-Inferred
LanguageHaskell2010

Parser.Utils

Synopsis

Parser Utilities

Backtracking support

choice' :: (Foldable f, Functor f) => f (Parser a) -> Parser a Source #

Parenthesis

parens :: Parser a -> Parser a Source #

Wraps the given parser with parenthesis.