▲ | cosmic_quanta 5 days ago | |
Author here, thanks for posting! On the Haskell Discourse [0], someone posted about another Haskell library, units [1], which allows to define unit systems NOT limited to the 7 physical dimensions. For example, adding a base dimension for currency would be nice to model electricity prices in currency per energy. [0]: https://discourse.haskell.org/t/blog-post-scientific-computi... | ||
▲ | readthenotes1 4 days ago | parent [-] | |
Dimension analysis is a super power in applied math. I was first taught it in chemistry, but was able to use it to avoid tripping myself up on just about every real world math problem I did... (And I too changed an implementation to add units of measure to a system. It took a few days, and caused some grief with downstream system developers. But we also avoided the Mars Climate Orbiter experience in production ) |