1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 03:30:27 +02:00

Two very small edits

* doc/ref/goops.texi (User-defined classes): Remove brackets around
  `formally', for better flow.
  (Creating Instances): Lengthen hyphen.
This commit is contained in:
Neil Jerram 2010-10-12 23:41:41 +01:00
parent eed4cc7bac
commit a54f6dc037

View file

@ -147,7 +147,7 @@ be, and how they will be initialised and accessed.
(y #:init-value 0 #:accessor y-component #:init-keyword #:y))
@end lisp
Methods are not (formally) part of a specific class's definition,
Methods are not formally part of a specific class's definition,
because a single method can be associated with several classes. If
you've studied object orientation in non-Lispy languages, you may
remember discussions such as whether a method to stretch a graphical
@ -502,7 +502,7 @@ To create a new instance of any GOOPS class, use the generic function
@code{make} or @code{make-instance}, passing the required class and any
appropriate instance initialization arguments as keyword and value
pairs. Note that @code{make} and @code{make-instances} are aliases for
each other - their behaviour is identical.
each other --- their behaviour is identical.
@deffn generic make
@deffnx method make (class <class>) . initargs