If you have a "pure" function -- i.e. free of side-effects -- you can use `func` instead of `proc`:
* [https://nim-lang.org/docs/manual.html#procedures-func](https://nim-lang.org/docs/manual.html#procedures-func)
If you have a "pure" function -- i.e. free of side-effects -- you can use `func` instead of `proc`:
* [https://nim-lang.org/docs/manual.html#procedures-func](https://nim-lang.org/docs/manual.html#procedures-func)