| Portability | portable |
|---|---|
| Stability | provisional |
| Maintainer | derek.a.elkins@gmail.com |
| Safe Haskell | Safe-Infered |
Text.ParserCombinators.Parsec.Expr
Description
Parsec compatibility module
- data Assoc
- = AssocNone
- | AssocLeft
- | AssocRight
- data Operator tok st a
- type OperatorTable tok st a = [[Operator tok st a]]
- buildExpressionParser :: OperatorTable tok st a -> GenParser tok st a -> GenParser tok st a
Documentation
This data type specifies the associativity of operators: left, right or none.
Constructors
| AssocNone | |
| AssocLeft | |
| AssocRight |
type OperatorTable tok st a = [[Operator tok st a]]Source
buildExpressionParser :: OperatorTable tok st a -> GenParser tok st a -> GenParser tok st aSource