defstruct-

clojure.contrib.def

  • (defstruct- name & decls)
Same as defstruct but yields a private definition

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/contrib/def.clj:54 top

(defmacro defstruct-
  "Same as defstruct but yields a private definition"
  [name & decls]
  (list* `defstruct (with-meta name (assoc (meta name) :private true)) decls))
Vars in clojure.contrib.def/defstruct-: assoc defmacro list* meta name with-meta defstruct
Used in 0 other vars

Comments top

No comments for defstruct-. Log in to add a comment.