atmos-dimensional-tf 0.1.0.0 → 0.1.1
raw patch · 2 files changed
+5/−10 lines, 2 filesdep −numtype-tfdep ~dimensional-tfPVP ok
version bump matches the API change (PVP)
Dependencies removed: numtype-tf
Dependency ranges changed: dimensional-tf
API changes (from Hackage documentation)
Files
Atmosphere/Dimensional/TF.hs view
@@ -9,11 +9,7 @@ import qualified Prelude import Numeric.Units.Dimensional.TF.Prelude-import Numeric.NumType.TF(Zero, Pos2, Neg1) -type DKinematicViscosity = Dim Pos2 Zero Neg1 Zero Zero Zero Zero-type KinematicViscosity = Quantity DKinematicViscosity- data Atmos a = Atmos { atmosTemperature :: ThermodynamicTemperature a , atmosPressure :: Pressure a , atmosDensity :: Density a@@ -28,10 +24,10 @@ DynamicViscosity a, KinematicViscosity a) atmosphere alt = ( temp *~ kelvin , pressure *~ pascal- , density *~ (kilo gram / (meter*meter*meter))+ , density *~ (kilo gram / meter ^ pos3) , asound *~ (meter / second)- , viscosity *~ (newton * second / (meter*meter))- , kinematicViscosity *~ (meter*meter/second)+ , viscosity *~ (newton * second / meter ^ pos2)+ , kinematicViscosity *~ (meter ^ pos2 / second) ) where (temp, pressure, density, asound, viscosity, kinematicViscosity) = siAtmosphere (alt /~ meter)
atmos-dimensional-tf.cabal view
@@ -1,5 +1,5 @@ name: atmos-dimensional-tf-version: 0.1.0.0+version: 0.1.1 synopsis: dimensional-tf wrapper on atmos package description: { 1976 US Standard Atmosphere with dimensions from dimensional-tf package.@@ -22,8 +22,7 @@ -- other-modules: build-depends: base >= 4 && < 5, atmos >= 0.1 && < 0.2,- dimensional-tf >= 0.1 && < 0.2,- numtype-tf >= 0.1 && < 0.2+ dimensional-tf >= 0.1.1 && < 0.2 source-repository head type: git