ianmackenzie/elm-units

Add more quantity types

オープン

#6 opened on 2018/09/27

 (49 件のコメント) (0 件のリアクション) (0 人の担当者)Elm (14 件のフォーク)auto 404
Hacktoberfesthelp wanted

Repository metrics

Stars
 (87 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Here's a list of modules that I'd like to add at some point - pull requests for any of these are welcome! (Take a look at existing modules for inspiration.) I've listed how I think each quantity's units should be defined, either as a base unit (Moles, Candelas, etc.) or as a rate/product of other units (in which case the units type will be a type alias of the form Rate x y or Product x y). Note that there are some dependencies here - can't add the VolumetricFlow modules without the Volume module, or LuminousIntensity without SolidAngle!

Kinematics/dynamics

  • AngularSpeed (RadiansPerSecond = Rate Radians Seconds) (thanks @katjam!)
  • AngularAcceleration (RadiansPerSecondSquared = Rate RadiansPerSecond Seconds) (thanks @katjam!)
  • Torque (NewtonMeters = Product Newtons Meters) (thanks @gampleman!)

Volume

  • Volume (Cubed Meters) (thanks @katjam!)
  • VolumetricFlow (CubicMetersPerSecond = Rate CubicMeters Seconds)
  • Density (KilogramsPerCubicMeter = Rate Kilograms CubicMeters) (thanks @katjam!)
  • SubstanceAmount (Moles) (thanks @ukarim!)
  • Molarity (MolesPerCubicMeter = Rate Moles CubicMeters) (claimed by @lenards)

Electromagnetism

  • Inductance (Henries = Rate Volts (Rate Amperes Seconds)) (thanks @ukarim!)
  • Capacitance (Farads = Rate Coulombs Volts) (thanks @ukarim!)

Photometry

  • SolidAngle (Steradians)
  • LuminousFlux (Lumens)
  • LuminousIntensity (Candelas = Rate Lumens Steradians)
  • Illuminance (Lux = Rate Lumens SquareMeters)
  • Luminance (Nits = Rate Candelas SquareMeters)

コントリビューターガイド