-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
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))))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels