I am wondering what magic is occurring for this code from https://github.com/weavejester/compojure/wiki/Destructuring-Syntax
(GET "/" request (str request))
I would expect it to look something like
(GET "/" [request] (str request))
Specifically, how is the request bound to the second argument?
Is the request always bound to the second argument?
What differentiates request vs [request]?
I have changed my code to see what happens in each of these scenarios, just trying to understand the reason and make sure I don't make and wrong assumptions about the second arg being bound to the request.
Thanks -jv