* guile 1.6.4 can not handle "empty else" of SRFI-0
@ 2003-04-23 12:33 Sven Hartrumpf
2003-05-16 23:05 ` Marius Vollmer
0 siblings, 1 reply; 2+ messages in thread
From: Sven Hartrumpf @ 2003-04-23 12:33 UTC (permalink / raw)
Hi all.
> guile --use-srfi="1"
guile> (cond-expand (srfi-1 (define a 1)) (else (define a 0)))
guile> a
1
% GOOD
guile> (cond-expand ((not srfi-1) (define b 1)) (else (define b 0)))
guile> b
0
% GOOD
guile> (cond-expand ((not srfi-1) (define b 1)) (else))
standard input:5:1: In procedure begin in expression (begin):
standard input:5:1: missing or extra expression
ABORT: (misc-error)
Type "(backtrace)" to get more information or "(debug)" to enter the debugger.
% VERY BAD :-(
Greetings
Sven
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: guile 1.6.4 can not handle "empty else" of SRFI-0
2003-04-23 12:33 guile 1.6.4 can not handle "empty else" of SRFI-0 Sven Hartrumpf
@ 2003-05-16 23:05 ` Marius Vollmer
0 siblings, 0 replies; 2+ messages in thread
From: Marius Vollmer @ 2003-05-16 23:05 UTC (permalink / raw)
Cc: guile-devel
Sven Hartrumpf <Sven.Hartrumpf@FernUni-Hagen.de> writes:
> guile> (cond-expand ((not srfi-1) (define b 1)) (else))
> standard input:5:1: In procedure begin in expression (begin):
> standard input:5:1: missing or extra expression
> ABORT: (misc-error)
This has been fixed in the 1.7 branch.
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-16 23:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-23 12:33 guile 1.6.4 can not handle "empty else" of SRFI-0 Sven Hartrumpf
2003-05-16 23:05 ` Marius Vollmer
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).