Nim: Exclamation mark value before constant string
Reading the macro documentation ( http://nim-lang.org/docs/macros.html ) I came across this piece of code:
nnkIdent(!"echo")
I tried to find the meaning of the exclamation mark, but couldn't find anything in the Nim documentation.
So: what is the difference between "string"
and !"string"
in Nim?
+3
source to share