Hacker News new | ask | show | jobs
by chrisdone 1906 days ago
I see that it supports units in terms of scale - does it also prevent units that measure different things from being combined? E.g. 2 kg + 3cm (units mismatch) or 3$ * 7$ (two monies can’t be multiplied).
1 comments

Yes to my understanding it will throw an error