unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Christopher Lam <christopher.lck@gmail.com>
To: 63196@debbugs.gnu.org
Subject: bug#63196: Further on this error message
Date: Mon, 1 May 2023 10:44:18 +0800	[thread overview]
Message-ID: <CAKVAZZ+YX73MM7sO4JhN3dwQzzdmxefSwkm8vu-GLsdiYe-Kbw@mail.gmail.com> (raw)
In-Reply-To: <CAKVAZZKHyTNeiapQCTysNCmricwvOZZm0ZWf0L7NT+FtuaCPBQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

The source seems to be sxpath.scm -- see "yikes" error which triggers when
n is -2 -4 -6 etc. I don't know how to build guile from sources and cannot
debug further.


(define (node-pos n)
  (lambda (nodeset)
    (cond
     ((not (nodeset? nodeset)) '())
     ((null? nodeset) nodeset)
     ((eqv? n 1) (list (car nodeset)))
     ((negative? n) ((node-pos (+ n 1 (length nodeset))) nodeset))
     (else
      (or (positive? n) (error "yikes!"))
      ((node-pos (1- n)) (cdr nodeset))))))

[-- Attachment #2: Type: text/html, Size: 635 bytes --]

  reply	other threads:[~2023-05-01  2:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-01  2:32 sxml or guile bug? Christopher Lam
2023-05-01  2:44 ` Christopher Lam [this message]
2023-05-06 12:38   ` bug#63196: Further on this error message tomas

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=CAKVAZZ+YX73MM7sO4JhN3dwQzzdmxefSwkm8vu-GLsdiYe-Kbw@mail.gmail.com \
    --to=christopher.lck@gmail.com \
    --cc=63196@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).