I am trying to do something like the following:
template tpl(name:string, body:untyped):untyped =
proc `name Free`()=
body
tpl("myname"):
echo "1"
echo "2"
mynameFree()
RunWhat am I missing to make it work? Secondly, how could I inspect what the template is generating?
