4 ms·
Yes, you can do this in scala with type aliases
by p4lindromica 13y ago
Yes, you can do this in scala with type aliases
- lmm 13y agoType aliases don't solve that problem. You need to use something like Shapeless' newtype.
- kasey_junk 13y agoType aliases do not solve this. The closest you can get is using the new value classes & those have some very big caveats