Copyright | (c) 2017 Dominic Orchard Andrew Rice Mistral Contrastin Matthew Danish |
---|---|
License | Apache-2.0 |
Maintainer | dom.orchard@gmail.com |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data UnitStatement Source #
Instances
data UnitOfMeasure Source #
Unitless | |
UnitBasic String | |
UnitProduct UnitOfMeasure UnitOfMeasure | |
UnitQuotient UnitOfMeasure UnitOfMeasure | |
UnitExponentiation UnitOfMeasure UnitPower | |
UnitRecord [(String, UnitOfMeasure)] |
Instances
Instances
Eq UnitPower Source # | |
Data UnitPower Source # | |
Defined in Camfort.Specification.Units.Parser.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UnitPower -> c UnitPower # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UnitPower # toConstr :: UnitPower -> Constr # dataTypeOf :: UnitPower -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UnitPower) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UnitPower) # gmapT :: (forall b. Data b => b -> b) -> UnitPower -> UnitPower # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UnitPower -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UnitPower -> r # gmapQ :: (forall d. Data d => d -> u) -> UnitPower -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> UnitPower -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> UnitPower -> m UnitPower # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UnitPower -> m UnitPower # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UnitPower -> m UnitPower # | |
Show UnitPower Source # | |