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

Safe HaskellSafe
LanguageHaskell2010

Data.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