HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by p4lindromica | Hacker News Reader
Parent
Full thread
p4lindromica
·
Yes, you can do this in scala with type aliases
View on HN
lmm
·
Type aliases don't solve that problem. You need to use something like Shapeless' newtype.
kasey_junk
·
Type aliases do not solve this. The closest you can get is using the new value classes & those have some very big caveats
Reply on news.ycombinator.com