| Copyright | (c) Daan Leijen 1999-2001 |
|---|---|
| License | BSD-style (see the file libraries/parsec/LICENSE) |
| Maintainer | daan@cs.uu.nl |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell98 |
Text.ParserCombinators.Parsec.Expr
Description
A helper module to parse "expressions". Builds a parser given a table of operators and associativities.
Documentation
Constructors
| AssocNone | |
| AssocLeft | |
| AssocRight |
type OperatorTable t st a = [[Operator t st a]] Source
buildExpressionParser :: OperatorTable tok st a -> GenParser tok st a -> GenParser tok st a Source