mathexpr-0.3.0.0: Parse and evaluate math expressions with variables and functions

Safe HaskellSafe
LanguageHaskell2010

Numeric.MathExpr

Synopsis

Documentation

evaluate :: Settings -> String -> [(String, Double)] -> Double Source #

Evaluate an expression Example: `evaluate def "x + y ^ 2" [("x", 1), ("y", 2)]

data Settings Source #

Constructors

Settings 

Fields

Instances