3 ms·
Nim as well, they even have an example[0] with currencies. [0] https://nim-lang.org/docs/manual.html#distinct-type-modeling-currencies https://nim-lang.org/doc
by fbdab103 4y ago
Nim as well, they even have an example[0] with currencies.
[0] https://nim-lang.org/docs/manual.html#distinct-type-modeling-currencies https://nim-lang.org/docs/manual.html#distinct-type-modeling...
- cb321 4y agoOne can, of course, go much further than simply distinct number types in Nim: https://github.com/ringabout/awesome-nim#science https://github.com/ringabout/awesome-nim#science (Unchained seems maybe the most featureful of those units packages.)