3 ms·
I am aware that a template would work in this case (it would also do so in Scheme, but templates are generally less powerful, and I was making a point about imp
by qwertyuiop924 10y ago
I am aware that a template would work in this case (it would also do so in Scheme, but templates are generally less powerful, and I was making a point about imperative macro systems). And yeah, that mixture of templates and macros that you used is semantically similar to what my Scheme code did. But I find Nim discourages writing small templates, which I find myself doing a lot when writing macros in Scheme. Personally, I find that Nim less confusing but still quite awkward.