Safe Haskell | Safe-Infered |
---|
Documentation
The Expr data type provides a basis for ordering mathematical operations.
evaluateExpression :: String -> [(Char, Double)] -> DoubleSource
evaluateExpression
evaluates a mathematical expression s using the variable map m.
stringToExpr :: String -> Maybe ExprSource
stringToExpr
parses an expression and returns an expression tree of type Expr.
expressionTable :: [[Operator Char st Expr]]Source