Hacker News new | past | comments | ask | show | jobs | submit login

> Are there any other generic programming facilities in nim?

https://nim-lang.org/docs/manual.html#generics




What I wanted to write was something like type restricted generics, apparently I ended my comment prematurely. Without concepts (interfaces), I find it hard to call this system "good generics" but there might be something I'm missing.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: