Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I believe you can do this with distinct type aliases in Nim:

https://nim-by-example.github.io/types/distinct/



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: