diff options
author | Neil Jerram <neil@ossau.uklinux.net> | 2010-12-06 20:24:58 +0000 |
---|---|---|
committer | Neil Jerram <neil@ossau.uklinux.net> | 2010-12-06 20:26:48 +0000 |
commit | 1dc43d57cc4f35bb67c175517554ce774ce339c2 (patch) | |
tree | e2291454a361b4569dfc1df40b37c26dd4bc8b84 | |
parent | 67a72dc13c9d058730361449416ba88c4a6d5dcb (diff) | |
download | guile-1dc43d57cc4f35bb67c175517554ce774ce339c2.tar.gz |
Minor textual markups
* doc/ref/goops-tutorial.texi (Class definition): No reason to assume
particular familiarity with CLOS.
(Instance creation and slot access): Remove a couple of words.
-rw-r--r-- | doc/ref/goops-tutorial.texi | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/doc/ref/goops-tutorial.texi b/doc/ref/goops-tutorial.texi index 28ab86875..52b293122 100644 --- a/doc/ref/goops-tutorial.texi +++ b/doc/ref/goops-tutorial.texi @@ -49,8 +49,7 @@ module. You can do this at the Guile REPL by evaluating: @node Class definition @subsection Class definition -A new class is defined with the @code{define-class} macro. The syntax -of @code{define-class} is close to CLOS @code{defclass}: +A new class is defined with the @code{define-class} syntax: @findex define-class @cindex class @@ -95,12 +94,12 @@ superclass of @code{<real>}, and @code{<real>} is the superclass of @node Instance creation and slot access @subsection Instance creation and slot access -Creation of an instance of a previously defined -class can be done with the @code{make} procedure. This -procedure takes one mandatory parameter which is the class of the -instance which must be created and a list of optional -arguments. Optional arguments are generally used to initialize some -slots of the newly created instance. For instance, the following form +Creation of an instance of a previously defined class can be done with +@code{make}. This procedure takes one mandatory parameter which is the +class of the instance which must be created, and a list of optional +arguments. Optional arguments are generally used to initialize some of +the slots of the newly created instance. For instance, the following +form @findex make @cindex instance |