Module

Text.Parsing.StringParser.Expr

This module defines helper functions for defining parsers using operator tables.

#Assoc

data Assoc

Operator associativity types.

Constructors

#Operator

data Operator a

Operator types: infix, prefix, postfix.

Constructors

#OperatorTable

type OperatorTable a = Array (Array (Operator a))

An operator table arranges operators into precedence groups.

#buildExprParser

buildExprParser :: forall a. OperatorTable a -> Parser a -> Parser a

Modules