Open ianmackenzie opened 4 years ago
For use on apps/packages that use elm-units; suggest things like
elm-units
Quantity.half
Quantity.multiplyBy 0.5
Quantity.divideBy 2
Quantity.twice
Quanttiy.multiplyBy 2
Also perhaps prohibit Quantity.unwrap and Quantity.unsafe? I've unfortunately encountered these in the middle of some random application code at work, which in my mind defies the point.
Quantity.unwrap
Quantity.unsafe
For use on apps/packages that use
elm-units
; suggest things likeQuantity.half
instead ofQuantity.multiplyBy 0.5
orQuantity.divideBy 2
Quantity.twice
instead ofQuanttiy.multiplyBy 2