Hey folks!

As the immediate pragma is deprecated, I'm updating my packages to remove 
references to it. I've got one situation where I'm curious about the best 
alternative. It's [this 
template](https://github.com/Nycto/RBTreeNim/blob/a64b6a8ad230a8a8f34e7ce1f6564ebf423a5b17/rbtree.nim#L34-L72).
 Basically, I'm using a template to define a type with a few procs. When I 
remove {. immediate .}, my [test 
fails](https://github.com/Nycto/RBTreeNim/blob/a64b6a8ad230a8a8f34e7ce1f6564ebf423a5b17/test/customize_test.nim).

I know I could achieve this using a macro instead, but since all I'm doing is 
some basic substitutions, a template feeks a bit more clear. What's the best 
way to achieve this?

Reply via email to