W3cubDocs

/Haskell 8

Text.ParserCombinators.Parsec.Expr

Copyright (c) Paolo Martini 2007
License BSD-style (see the LICENSE file)
Maintainer [email protected]
Stability provisional
Portability portable
Safe Haskell Safe
Language Haskell2010

Description

Parsec compatibility module

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

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.8.3/docs/html/libraries/parsec-3.1.14.0/Text-ParserCombinators-Parsec-Expr.html