Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Language.Drasil.Chunk.UncertainQuantity
Contents
Description
For adding an uncertainty value to quantities with constraints.
Synopsis
- data UncertQ
- uq :: (Quantity c, Constrained c, Concept c, HasReasVal c, MayHaveUnit c) => c -> Uncertainty -> UncertQ
- uqc :: IsUnit u => String -> NP -> String -> Symbol -> u -> Space -> [ConstraintE] -> Expr -> Uncertainty -> UncertQ
- uqcND :: IsUnit u => String -> NP -> Symbol -> u -> Space -> [ConstraintE] -> Expr -> Uncertainty -> UncertQ
Chunk Types
UncertQs are conceptual symbolic quantities with constraints and an Uncertainty
.
Contains a ConstrConcept
and an Uncertainty
.
Ex. Measuring the length of a pendulum arm may be recorded with an uncertainty value.
Instances
Constructors
uq :: (Quantity c, Constrained c, Concept c, HasReasVal c, MayHaveUnit c) => c -> Uncertainty -> UncertQ Source #
Smart constructor that requires a Quantity
, a percentage, and a typical value with an Uncertainty
.