unquote

clojure.core

2 Examples top

  • user=> (let [x 2]
             `(1 x 3))
    (1 user/x 3)
    
    user=> (let [x 2]
             `(1 ~x 3))
    (1 2 3)
    
  • user=> `(1 (dec 3) 3)
    
    (1 (clojure.core/dec 3) 3)
    
    user => `(1 ~(dec 3) 3)
    
    (1 2 3)
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:13 top

(def unquote)
Vars in clojure.core/unquote:
Used in 0 other vars

Comments top

No comments for unquote. Log in to add a comment.