unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Stefan Israelsson Tampe <stefan.itampe@gmail.com>
To: 36399@debbugs.gnu.org
Subject: bug#36399: < operator does not work inside function regarding goops
Date: Wed, 26 Jun 2019 23:53:10 +0200	[thread overview]
Message-ID: <CAGua6m2PL1KLvXtRazJy2DNL8+CSf6mM5kQ8ga0uM+v+fdnxJg@mail.gmail.com> (raw)

[-- 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 --]

                 reply	other threads:[~2019-06-26 21:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGua6m2PL1KLvXtRazJy2DNL8+CSf6mM5kQ8ga0uM+v+fdnxJg@mail.gmail.com \
    --to=stefan.itampe@gmail.com \
    --cc=36399@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).