4 ms·
Nim does this, it has 'proc' and 'func'. They define a `func` as a procedure with no side effects using the macro `{.noSideEffect.}` [1]. [1] https://nim-lang.
by etra0 4y ago
Nim does this, it has 'proc' and 'func'. They define a `func` as a procedure with no side effects using the macro `{.noSideEffect.}` [1].
[1] https://nim-lang.org/docs/manual.html#procedures-func https://nim-lang.org/docs/manual.html#procedures-func