Untitled
import macros
proc foo(bar: float): float = bar
macro print(node: typed) :untyped =
echo treerepr getImpl(node.symbol)
macro print2(node:typed):untyped =
echo treerepr gettypeImpl(node)
print(foo) # this also echoes the body
print2(foo)INFO