There is 
[signatureHash](https://nim-lang.org/docs/macros.html#signatureHash%2CNimNode) 
and [symBodyHash](https://nim-lang.org/docs/macros.html#symBodyHash%2CNimNode), 
though apparently these are not good enough for all cases and there was [a 
PR](https://github.com/nim-lang/Nim/pull/13305) to add what you said separately.

Reply via email to