| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Prednote.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
Constructors
| TokOperand (Pred a) | |
| TokOperator Operator |
pushOperand :: Pred a -> [Pred a] -> [Pred a] Source