4 ms·
Ah, my bad there. That was what I meant with subtypes, but you're right, things have moved further there already. Sorry for the misinfo!
by xg15 4y ago
Ah, my bad there. That was what I meant with subtypes, but you're right, things have moved further there already.
Sorry for the misinfo!
- stavros 4y agoYeah, defining "dollars" and "cents" (and over units) types are actually a really good solution for this, it means that you can never pass a value of one unit when the function expects another.