penny-lib-0.8.0.0: Extensible double-entry accounting system - library

Safe HaskellNone

Penny.Steel.Expressions.RPN

Description

Postfix, or RPN, expression parsing.

This module parses RPN expressions where the operands are predicates and the operators are one of and, or, or not, where and and or are binary and not is unary.

Documentation

data Operator Source

Constructors

OpAnd 
OpOr 
OpNot 

Instances

pushOperand :: Pdct a -> [Pdct a] -> [Pdct a]Source