RosettaCodeData/Task/Inverted-syntax/Clojure/inverted-syntax-1.clj
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

12 lines
203 B
Clojure

; normal
(if (= 1 1)
(print "Math works."))
; inverted
(->> (print "Math still works.")
(if (= 1 1)))
; a la Haskell
(->> (print a " is " b)
(let [a 'homoiconicity
b 'awesome]))