summaryrefslogtreecommitdiff
path: root/doc/ref
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2013-12-01 18:35:37 -0500
committerMark H Weaver <mhw@netris.org>2013-12-01 18:41:31 -0500
commit7cfcb60bc16263ee48323781a57b1007a27380d0 (patch)
tree3669f26d4ae239b196e4e03c358bd0dc510fc60a /doc/ref
parent8f0ecae98c7bef8b927287b38d12360296c236a4 (diff)
downloadguile-7cfcb60bc16263ee48323781a57b1007a27380d0.tar.gz
GOOPS doc fix: #:dsupers is the init keyword for the dsupers slot.
* doc/ref/goops.texi (Metaclasses): #:dsupers is the initialization keyword for the dsupers slot, not #:supers.
Diffstat (limited to 'doc/ref')
-rw-r--r--doc/ref/goops.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ref/goops.texi b/doc/ref/goops.texi
index bc04985cf..ce0b76bb2 100644
--- a/doc/ref/goops.texi
+++ b/doc/ref/goops.texi
@@ -1941,13 +1941,13 @@ which in turn expands to:
@example
(define <my-class>
- (make <class> #:supers (list <object>) #:slots slots))
+ (make <class> #:dsupers (list <object>) #:slots slots))
@end example
As this expansion makes clear, the resulting value of @code{<my-class>}
is an instance of the class @code{<class>} with slot values specifying
the superclasses and slot definitions for the class @code{<my-class>}.
-(@code{#:supers} and @code{#:slots} are initialization keywords for the
+(@code{#:dsupers} and @code{#:slots} are initialization keywords for the
@code{dsupers} and @code{dslots} slots of the @code{<class>} class.)
Now suppose that you want to define a new class with a metaclass other
@@ -1964,7 +1964,7 @@ and Guile expands @emph{this} to something like:
@example
(define <my-class2>
- (make <my-metaclass> #:supers (list <object>) #:slots slots))
+ (make <my-metaclass> #:dsupers (list <object>) #:slots slots))
@end example
In this case, the value of @code{<my-class2>} is an instance of the more