So I'm mostly calling 
[pop](https://github.com/nim-lang/Nim/blob/version-1-4/lib/system.nim#L1824) 
which looks like it will `shrink` instead of just `setLen` in Nim V2 but I'm 
still on 1.4.6 so it should be good for now.

I've been adding a `return DefaultValue` at the end of each function. Implicit 
`result` would be good too. I found [this 
example](https://nim-by-example.github.io/macros/) of a macro. Are there 
simpler examples to try to build off of? Can I `echo` things inside a macro so 
I can see the AST and know what to write in the macro's body next?

Reply via email to