Module

Math.Equation

Package
purescript-math-equation
Repository
athanclark/purescript-math-equation

This module defines data structures that mirror common Math functions, to ease the storage of such an equation.

#VarName Source

#BoundVars Source

newtype BoundVars a

#emptyVars Source

emptyVars :: forall a. BoundVars a

#bindVars Source

bindVars :: forall a f. Foldable f => f (Tuple VarName a) -> BoundVars a

#bindVar Source

bindVar :: forall a. BoundVars a -> VarName -> a -> BoundVars a

#BoundError Source

#Equation Source

type Equation a = Tuple a a

#computeValue Source

computeValue :: forall a. EuclideanRing a => DivisionRing a => Eq a => Ord a => Value a -> BoundVars a -> Either BoundError a

#genValue Source

genValue :: forall a. Gen a -> Gen (Value a)
Modules
Math.Equation