Table of Contents

shorthand

#(exp)

#(exp) is shorthand for a function with one expression in the body

#(print "hello") ; (fn [] (print "hello"))

#(print %2 %1) ; (fn [a b] (print b a))

#{value}

#{value} is shorthand for a hash set

#{5 2 "hi" 5}
(has-set 5 2 "hi" 5)

#'

#' is shorthand for the var special form

#'x. ; (var x)

^symbol

^symbol is shorthand for ^{:tag symbol}

^foo   ; ^{:tag foo}

^keyword

^keyword is shorthand for ^{keyword true}

^:foo   ; ^{:foo true}