guile-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile/guile-core NEWS


From: Mikael Djurfeldt
Subject: guile/guile-core NEWS
Date: Fri, 09 Mar 2001 19:12:58 -0800

CVSROOT:        /cvs
Module name:    guile
Changes by:     Mikael Djurfeldt <address@hidden>       01/03/09 19:12:58

Modified files:
        guile-core     : NEWS 

Log message:
        

CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/guile/guile-core/NEWS.diff?r1=1.253&r2=1.254

Patches:
Index: guile/guile-core/NEWS
diff -u guile/guile-core/NEWS:1.253 guile/guile-core/NEWS:1.254
--- guile/guile-core/NEWS:1.253 Fri Mar  9 02:03:46 2001
+++ guile/guile-core/NEWS       Fri Mar  9 19:12:58 2001
@@ -411,6 +411,21 @@
 
 ** 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]