This module provides some simple parser combinators.
Author: Jan Tikovsky (with changes by Niels Bunkenburg)
Version: May 2021
eof
:: Parser a b
|
unexpected
:: Show a => a -> Parser a b
|
terminal
:: (Eq a, Show a) => a -> Parser a ()
|
Constructors:
Parser
:: ([a] -> Either String ([a],b)) -> Parser a b
Fields:
runParser
:: ([a] -> Either String ([a],b))
|