Unchained
Unchained copied to clipboard
A fully type safe, compile time only units library.
A decent summary on Wikipedia: https://en.wikipedia.org/wiki/SI_derived_unit Definitely have to add all remaining derived SI units (things like Tesla, Radian etc. are still missing). Maybe a good idea to also add...
The current way to add new units is 1. annoying 2. verbose 3. littered all over Instead we need to unify the unit construction. Instead of having: - units defined...
For the units tutorial I'm planning to write someday (hopefully soon) I think it would be nice to have lots of examples mixing SI and Imperial units (because it's a...
The following trivial code: ```nim import unchained, cligen proc main() = discard when isMainModule: dispatch main ``` results in a compilation that takes 55 s and uses 10 GB of...