parsec-3.1.15.0: Monadic parser combinators
Copyright(c) Paolo Martini 2007
LicenseBSD-style (see the LICENSE file)
Maintainerderek.a.elkins@gmail.com
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Text.ParserCombinators.Parsec.Expr

Description

Parsec compatibility module

Synopsis

Documentation

data Assoc Source #

This data type specifies the associativity of operators: left, right or none.

data Operator tok st a Source #

Constructors

Infix (GenParser tok st (a -> a -> a)) Assoc 
Prefix (GenParser tok st (a -> a)) 
Postfix (GenParser tok st (a -> a)) 

type OperatorTable tok st a = [[Operator tok st a]] Source #

buildExpressionParser :: OperatorTable tok st a -> GenParser tok st a -> GenParser tok st a Source #