
Broken deftype
By: a guest on
Dec 28th, 2010 | syntax:
Lisp | size: 0.18 KB | hits: 47 | expires: Never
(deftype X []
Object
(toString [this]
(str "(instance? X this) -> " (instance? X this))))
(clojure-version)
; -> "1.2.0"
(str (X.))
; -> "(instance? X this) -> false"