You're viewing version 1.2.0 of create-struct. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

create-struct

clojure.core

  • (create-struct & keys)
Returns a structure basis object.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:3109 top

(defn create-struct
  "Returns a structure basis object."
  {:added "1.0"}
  [& keys]
    (. clojure.lang.PersistentStructMap (createSlotMap keys)))
Vars in clojure.core/create-struct: defn keys
Used in 1 other vars defstruct

Comments top

No comments for create-struct. Log in to add a comment.