- | @simpleParse p s@ runs parser @p@ on input @s@ and returns corresponding
-- result of type @Either ParseError a@, where @a@ is type of parsed
-- value. This parser tries to parser end of file too and name of input file
-- is always empty string.

simpleParse :: Parser a -> String -> Either ParseError a
simpleParse p = parse (p <* eof) ""

simpleParse :: Parser a -> String -> Either ParseError a
simpleParse p = parse (p <* eof) ""
simpleParse p = parse (p <* eof) ""