* bug#36399: < operator does not work inside function regarding goops
@ 2019-06-26 21:53 Stefan Israelsson Tampe
0 siblings, 0 replies; only message in thread
From: Stefan Israelsson Tampe @ 2019-06-26 21:53 UTC (permalink / raw)
To: 36399
[-- Attachment #1: Type: text/plain, Size: 266 bytes --]
For guile 2.9
Executing
(use-modules (oop goops))
(define-method (< (s1 <string>) (s2 <string>)) (pk 'wow) #f)
(define (f x) (< x x))
(f "a")
results in :
unnamed port>:3:14: In procedure f:
In procedure nan?: Wrong type argument in position 1: "a"
[-- Attachment #2: Type: text/html, Size: 632 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-06-26 21:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-26 21:53 bug#36399: < operator does not work inside function regarding goops Stefan Israelsson Tampe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).