Hi!
In the asynhttp server documentation, the example code has this:
let msg = %* {"message": "Hello World"}
but that doesn't seem to compile, at least not for me.
I just get:
Error: undeclared identifier: '%*'
What's up?
http://nim-lang.org/docs/asynchttpserver.html
Thanks Luke
Where did you find this example?
The %* operator is defined in the json module (doc). It just creates a JSON element based on the key/values specified.
in the section titled "Examples" :-)