1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 21:40:33 +02:00

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.
This commit is contained in:
Neil Jerram 2010-12-06 20:24:58 +00:00
parent 67a72dc13c
commit 1dc43d57cc

View file

@ -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