You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A subset of Clojure's deftype constructs could be supported
(deftype <name> <columns vector> & <functions>)
e.g.
(deftype Person [contents]
; clojure.lang.IPersistentMap (no implements declarations for the moment)
(assoc [_ k v] (Person. (.assoc contents k v)))
(assocEx [_ k v] (Person. (.assocEx contents k v)))
(without [_ k] (Person. (.without contents k))))
The text was updated successfully, but these errors were encountered:
A subset of Clojure's deftype constructs could be supported
e.g.
The text was updated successfully, but these errors were encountered: