Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # shorthand ### #(exp) \#(exp) is shorthand for a function with one expression in the body <code clojure> #(print "hello") ; (fn [] (print "hello")) </code> <code clojure> #(print %2 %1) ; (fn [a b] (print b a)) </code> ### #{value} \#{value} is shorthand for a hash set <code clojure> #{5 2 "hi" 5} (has-set 5 2 "hi" 5) </code> ### #' \#' is shorthand for the [[var]] special form <code clojure> #'x. ; (var x) </code> ### ^symbol `^symbol` is shorthand for ^{:tag symbol} <code clojure> ^foo ; ^{:tag foo} </code> ### ^keyword `^keyword` is shorthand for ^{keyword true} <code clojure> ^:foo ; ^{:foo true} </code> open/shorthand.txt Last modified: 2024/10/05 06:15by 127.0.0.1