mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-30 06:50:31 +02:00
*** empty log message ***
This commit is contained in:
parent
71d540f734
commit
7d4351201f
2 changed files with 16 additions and 1 deletions
15
NEWS
15
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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue