Hi there.
Nim doesn't have a built-in alias command to rename identifiers to something more convenient (eg, D lang has that). But it's possible to get the same effect by using template metaprogramming.
Here's a couple of links with more info on that:
https://forum.nim-lang.org/t/2390
nim-lang/Nim#7090
https://forum.nim-lang.org/t/1515
Could you please add a section for how to do aliasing?
Hi there.
Nim doesn't have a built-in alias command to rename identifiers to something more convenient (eg, D lang has that). But it's possible to get the same effect by using template metaprogramming.
Here's a couple of links with more info on that:
https://forum.nim-lang.org/t/2390
nim-lang/Nim#7090
https://forum.nim-lang.org/t/1515
Could you please add a section for how to do aliasing?