unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: var-vniiaes--- via "Bug reports for GUILE, GNU's Ubiquitous Extension Language" <bug-guile@gnu.org>
To: 62053@debbugs.gnu.org
Subject: bug#62053: Guile compiler is unable to compile tiny program
Date: Wed, 08 Mar 2023 14:07:56 +0300	[thread overview]
Message-ID: <1678273676.721226645@f141.i.mail.ru> (raw)

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


Guile compiler is unable to compile tiny program:
 
(define (fn l)
    (define (ok l)
       (or (and (pair? l) l)
           (error "list is empty")))
    (cons (reverse (car l)) (ok l)))
 
amaya@picasso:~/tmp/guile-3.0.9
$ ../prefix/bin/guile ~/tmp/guile-compiler-bug.scm
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/amaya/tmp/guile-compiler-bug.scm
;;; WARNING: compilation of /home/amaya/tmp/guile-compiler-bug.scm failed:
;;; not found 22
 
Compiler reports confusing message here: `not found 22’.   

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

             reply	other threads:[~2023-03-08 11:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-08 11:07 var-vniiaes--- via Bug reports for GUILE, GNU's Ubiquitous Extension Language [this message]
2023-03-08 16:41 ` bug#62053: Guile compiler is unable to compile tiny program tomas
2023-03-08 17:38   ` Dr. Arne Babenhauserheide

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=1678273676.721226645@f141.i.mail.ru \
    --to=bug-guile@gnu.org \
    --cc=62053@debbugs.gnu.org \
    --cc=var-vniiaes@mail.ru \
    /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).