Skip to main content
1 of 2
cliffroot
  • 1.1k
  • 6
  • 6

Clojure + Common Lisp, 29 bytes

(print(if '()"trick""treat"))

Clojure version on ideone: https://ideone.com/8yvxxU

Common Lisp: https://ideone.com/IWsU6X

In Common Lisp nil is the same as '() and thus '() evaluates to false whereas in Clojure empty list is not nil and thus is true. I hope its being not a full program but a snippet(?) is fine for the challenge.

cliffroot
  • 1.1k
  • 6
  • 6