Text.ParserCombinators.ReadPrec (original) (raw)

Contents

Description

This library defines parser combinators for precedence parsing.

Synopsis

Documentation

PrecedencesPrecedence operations

prec :: Prec -> ReadPrec a -> ReadPrec a Source #

(prec n p) checks whether the precedence context is less than or equal to n, and

Other operations

All are based directly on their similarly-named [ReadP](Text-ParserCombinators-ReadP.html#t:ReadP "Text.ParserCombinators.ReadP") counterparts.

Converters