clojure syntax quote with unquote
16-06-25
%The quote macro / fn can be a bit trickey. Say you want to you have a var and you want to put it into a new list. Simply quoting will quote the var name and not the value:
user=> (def val "test")
#'user/val
user=> '(val)
(val)
user=> (list val)
("test")
user=> `(~val)
("test")