[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] branch main updated: Add comment about (oop goops keywor
From: |
Mikael Djurfeldt |
Subject: |
[Guile-commits] branch main updated: Add comment about (oop goops keyword-formals) |
Date: |
Tue, 26 Nov 2024 13:50:45 -0500 |
This is an automated email from the git hooks/post-receive script.
mdj pushed a commit to branch main
in repository guile.
The following commit(s) were added to refs/heads/main by this push:
new c569f98d8 Add comment about (oop goops keyword-formals)
c569f98d8 is described below
commit c569f98d81bf18cab49edb69a7a1bd2161d1c3e9
Author: Mikael Djurfeldt <mikael@djurfeldt.com>
AuthorDate: Tue Nov 26 19:49:50 2024 +0100
Add comment about (oop goops keyword-formals)
---
module/oop/goops.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] branch main updated: Add comment about (oop goops keyword-formals),
Mikael Djurfeldt <=