3 ms·
There are "concepts" which are like generics but still experimental. Are there any other generic programming facilities in nim? https://nim-lang.org/docs/manua
by egeozcan 7y ago
There are "concepts" which are like generics but still experimental. Are there any other generic programming facilities in nim?
https://nim-lang.org/docs/manual_experimental.html#concepts https://nim-lang.org/docs/manual_experimental.html#concepts
- narimiran 7y ago> Are there any other generic programming facilities in nim? https://nim-lang.org/docs/manual.html#generics https://nim-lang.org/docs/manual.html#generics
- egeozcan 7y agoWhat 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.