Y
Hacker News
new
|
ask
|
show
|
jobs
by
andrewaylett
2107 days ago
More complex type systems absolutely support asserting the units of a value in the type system. For example, here's an implementation of SI types in C++:
https://github.com/bernedom/SI