| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Extensions.UnitsEnvironment
Documentation
type EqualityConstrained = Bool Source
data AssumeLiterals Source
data UnitConstant Source
Constructors
| Unitful [(MeasureUnit, Rational)] | |
| UnitlessC Rational |
data UnitVarCategory Source
Instances
type DerivedUnitEnv = [(MeasureUnit, UnitConstant)] Source
type ProcedureEnv = [(String, Procedure)] Source
type LinearSystem = (Matrix Rational, [UnitConstant]) Source
Constructors
| UnitEnv | |
Fields
| |
unitVarCats :: forall cat. ArrowApply cat => Lens cat UnitEnv [UnitVarCategory] Source
underdeterminedCols :: forall cat. ArrowApply cat => Lens cat UnitEnv [Int] Source
tmpRowsAdded :: forall cat. ArrowApply cat => Lens cat UnitEnv [Int] Source
tmpColsAdded :: forall cat. ArrowApply cat => Lens cat UnitEnv [Int] Source
reorderedCols :: forall cat. ArrowApply cat => Lens cat UnitEnv [Int] Source
procedureEnv :: forall cat. ArrowApply cat => Lens cat UnitEnv ProcedureEnv Source
linearSystem :: forall cat. ArrowApply cat => Lens cat UnitEnv LinearSystem Source
evUnitsAdded :: forall cat. ArrowApply cat => Lens cat UnitEnv (Int, [String]) Source
evCriticals :: forall cat. ArrowApply cat => Lens cat UnitEnv [Int] Source
derivedUnitEnv :: forall cat. ArrowApply cat => Lens cat UnitEnv DerivedUnitEnv Source
calls :: forall cat. ArrowApply cat => Lens cat UnitEnv ProcedureEnv Source
resetTemps :: State UnitEnv () Source
data Consistency a Source
Constructors
| Ok a | |
| Bad a Int (UnitConstant, [Rational]) |
Instances
| Show a => Show (Consistency a) Source |
efmap :: (a -> a) -> Consistency a -> Consistency a Source