unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#62053: Guile compiler is unable to compile tiny program
@ 2023-03-08 11:07 var-vniiaes--- via Bug reports for GUILE, GNU's Ubiquitous Extension Language
  2023-03-08 16:41 ` tomas
  0 siblings, 1 reply; 3+ messages in thread
From: var-vniiaes--- via Bug reports for GUILE, GNU's Ubiquitous Extension Language @ 2023-03-08 11:07 UTC (permalink / raw)
  To: 62053

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-08 17:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-08 11:07 bug#62053: Guile compiler is unable to compile tiny program var-vniiaes--- via Bug reports for GUILE, GNU's Ubiquitous Extension Language
2023-03-08 16:41 ` tomas
2023-03-08 17:38   ` Dr. Arne Babenhauserheide

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).