4 ms·
Phantom types can be useful when modelling currency: the "implementation" stays the same but you want to avoid summing two different currencies by mistake. htt
by danidiaz 6y ago
Phantom types can be useful when modelling currency: the "implementation" stays the same but you want to avoid summing two different currencies by mistake.
https://ren.zone/articles/safe-money https://ren.zone/articles/safe-money