diff options
author | Mikael Djurfeldt <mikael@djurfeldt.com> | 2024-11-26 19:49:50 +0100 |
---|---|---|
committer | Mikael Djurfeldt <mikael@djurfeldt.com> | 2024-11-26 19:49:50 +0100 |
commit | c569f98d81bf18cab49edb69a7a1bd2161d1c3e9 (patch) | |
tree | 12756839f6f831d36d02d42169078f35e22bee6f /module | |
parent | fe05646f7c5881b6b53060d552026d41dd30ff35 (diff) | |
download | guile-c569f98d81bf18cab49edb69a7a1bd2161d1c3e9.tar.gz |
Add comment about (oop goops keyword-formals)
Diffstat (limited to 'module')
-rw-r--r-- | module/oop/goops.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/module/oop/goops.scm b/module/oop/goops.scm index 12644eba5..1938235d8 100644 --- a/module/oop/goops.scm +++ b/module/oop/goops.scm @@ -2069,7 +2069,14 @@ function." ;;; rest))))))) ;;; ;;; With the current state of the compiler, this results in slower code -;;; than the implementation below since the apply call isn't eliminated. +;;; than the implementation below since the apply call isn't +;;; eliminated. Note also that it doesn't support the (next-method) call +;;; as does the following implementation. +;;; +;;; If you make changes to the following implementation, bear in mind +;;; that define-method* is supposed to also be able to handle ordinary +;;; methods without keyword formals. See the Guile Reference and the +;;; module (oop goops keyword-formals). ;;; (define-syntax define-method |