| Copyright | (c) Paolo Martini 2007 |
|---|---|
| License | BSD-style (see the LICENSE file) |
| Maintainer | derek.a.elkins@gmail.com |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Text.ParserCombinators.Parsec.Expr
Description
Parsec compatibility module
Synopsis
- data Assoc
- 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]] #
buildExpressionParser :: OperatorTable tok st a -> GenParser tok st a -> GenParser tok st a #