summaryrefslogtreecommitdiff
path: root/src/clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/clj')
-rw-r--r--src/clj/clojure/core_deftype.clj9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/clj/clojure/core_deftype.clj b/src/clj/clojure/core_deftype.clj
index 3149e954..22e4700b 100644
--- a/src/clj/clojure/core_deftype.clj
+++ b/src/clj/clojure/core_deftype.clj
@@ -106,10 +106,11 @@
writes the .class file to the *compile-path* directory. When not
compiling, does nothing.
- A constructor will be defined, taking the designated fields followed
- by a metadata map (nil for none) and an extension field map (nil for
- none). In the method bodies, the (unqualified) name can be used
- to name the class (for calls to new etc).
+ Two constructors will be defined, one taking the designated fields
+ followed by a metadata map (nil for none) and an extension field
+ map (nil for none), and one taking only the fields (using nil for
+ meta and extension fields). In the method bodies, the (unqualified)
+ name can be used to name the class (for calls to new etc).
See deftype for a description of fields, methods, equality and
generated interfaces."