3 ms·
> using `func` to declare pure functions and `proc` for others What's the limit used by Nim in its definition of a “pure function”? Is function that allocate m
by littlestymaar 7y ago
> using `func` to declare pure functions and `proc` for others
What's the limit used by Nim in its definition of a “pure function”? Is function that allocate memory considered a impure one? (technically it is, but it really reduces the usefulness of such keyword if it's too restrictive, that why Rust don't have it for instance).