camfort-0.700: CamFort - Cambridge Fortran infrastructure

Safe HaskellNone
LanguageHaskell98

Extensions.UnitsEnvironment

Documentation

type Row = Int Source

type Col = Int Source

varColEnv :: forall cat. ArrowApply cat => Lens cat UnitEnv VarColEnv 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

success :: forall cat. ArrowApply cat => Lens cat UnitEnv Bool Source

report :: forall cat. ArrowApply cat => Lens cat UnitEnv [String] Source

reorderedCols :: forall cat. ArrowApply cat => Lens cat UnitEnv [Int] Source

evUnitsAdded :: forall cat. ArrowApply cat => Lens cat UnitEnv (Int, [String]) Source

evCriticals :: forall cat. ArrowApply cat => Lens cat UnitEnv [Int] Source

debugInfo :: forall cat. ArrowApply cat => Lens cat UnitEnv DebugInfo Source

calls :: forall cat. ArrowApply cat => Lens cat UnitEnv ProcedureEnv Source

trim :: [(t, Rational)] -> [(t, Rational)] Source

data Consistency a Source

Constructors

Ok a 
Bad a Int (UnitConstant, [Rational]) 

Instances

efmap :: (a -> a) -> Consistency a -> Consistency a Source

ifDebug :: (?debug :: Bool, Monad m) => m a -> m () Source