-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Enzo Haussecker's algorithm for parsing functions. -- -- The centerpiece of this package is a function called evaluate -- (exported from Text.ParserCombinators.Parsec.EvaluateFunction), which -- parses a function (in the form of a string) and evaluates it at a -- given point. Examples of this function can be found by viewing the -- source code for this module. @package ParserFunction @version 0.0.2 module Text.ParserCombinators.Parsec.Functions data Expr Num :: Double -> Expr Var :: Char -> Expr Sub :: Expr -> Expr -> Expr Div :: Expr -> Expr -> Expr Pow :: Expr -> Expr -> Expr Log :: Expr -> Expr Abs :: Expr -> Expr Sqrt :: Expr -> Expr Cbrt :: Expr -> Expr ArcSinh :: Expr -> Expr ArcCosh :: Expr -> Expr ArcTanh :: Expr -> Expr ArcSin :: Expr -> Expr ArcCos :: Expr -> Expr ArcTan :: Expr -> Expr Sinh :: Expr -> Expr Cosh :: Expr -> Expr Tanh :: Expr -> Expr Sin :: Expr -> Expr Cos :: Expr -> Expr Tan :: Expr -> Expr ArcSech :: Expr -> Expr ArcCsch :: Expr -> Expr ArcCoth :: Expr -> Expr ArcSec :: Expr -> Expr ArcCsc :: Expr -> Expr ArcCot :: Expr -> Expr Sech :: Expr -> Expr Csch :: Expr -> Expr Coth :: Expr -> Expr Sec :: Expr -> Expr Csc :: Expr -> Expr Cot :: Expr -> Expr Mul :: Expr -> Expr -> Expr Add :: Expr -> Expr -> Expr Exp :: Expr -> Expr instance Show Expr instance Eq Expr instance Ord Expr module Text.ParserCombinators.Parsec.ParserFunction functionParse :: String -> Maybe Expr module Text.ParserCombinators.Parsec.EvaluateFunction evaluate :: Expression -> [(Variable, Value)] -> Double