*** empty log message ***
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Sat, 10 Mar 2001 03:13:12 +0000 (03:13 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Sat, 10 Mar 2001 03:13:12 +0000 (03:13 +0000)
NEWS
doc/ChangeLog

diff --git a/NEWS b/NEWS
index e865cce..15ab4c9 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -411,6 +411,21 @@ There is no such concept as a weak binding any more.
 
 ** Removed constants:  bignum-radix, scm-line-incrementors
 
+** define-method: New syntax mandatory.
+
+The new method syntax is now mandatory:
+
+(define-method (NAME ARG-SPEC ...) BODY ...)
+(define-method (NAME ARG-SPEC ... . REST-ARG) BODY ...)
+
+  ARG-SPEC ::= ARG-NAME | (ARG-NAME TYPE)
+  REST-ARG ::= ARG-NAME
+
+If you have old code using the old syntax, import
+(oop goops old-define-method) before (oop goops) as in:
+
+  (use-modules (oop goops old-define-method) (oop goops))
+
 * Changes to the gh_ interface
 
 * Changes to the scm_ interface
index 324a86d..d638bfc 100644 (file)
@@ -2,7 +2,7 @@
 
        * goops.texi (VERSION): Bumped to version 0.3.
 
-       * goops-tutorial.texi, goops.texi: Updated to reflext new
+       * goops-tutorial.texi, goops.texi: Updated to reflect new
        define-method syntax.
 
 2001-03-09  Neil Jerram  <neil@ossau.uklinux.net>