> in C terms you can't have a function pointer to +

I guess that makes sense, and it would definently be a needless performance hit 
to create a function just for this edge case.

> templates are perfect for passing expressions around

I'm sorta new to Nim and metaprogramming, so I didn't think about using a 
template. [Here](https://dpaste.com/89XMTVYYQ) is the code that inspired the 
question, but I don't really see how I would refactor it to utilize a template.

Reply via email to