GNU bug report logs - #21378
R6RS guard's else chokes on multiple expressions

Previous Next

Package: guile;

Reported by: taylanbayirli <at> gmail.com (Taylan Ulrich Bayırlı/Kammer)

Date: Sat, 29 Aug 2015 21:53:01 UTC

Severity: normal

Done: taylanbayirli <at> gmail.com (Taylan Ulrich Bayırlı/Kammer)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21378 in the body.
You can then email your comments to 21378 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#21378; Package guile. (Sat, 29 Aug 2015 21:53:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to taylanbayirli <at> gmail.com (Taylan Ulrich Bayırlı/Kammer):
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sat, 29 Aug 2015 21:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: taylanbayirli <at> gmail.com (Taylan Ulrich Bayırlı/Kammer)
To: bug-guile <at> gnu.org
Subject: R6RS guard's else chokes on multiple expressions
Date: Sat, 29 Aug 2015 23:52:04 +0200
It seems that whatever macro tries to match the guard expression's
else-clause, fails to do so when the clause contains more than one
expression, and so adds a default "else re-raise" clause after the
existing else clause.

I couldn't figure out where this happens.  I grepped the whole
source tree for 're-raise' and only found it twice in a comment.

Transcript showcasing bug:

taylan <at> T420:~$ guile
GNU Guile 2.0.11
Copyright (C) 1995-2014 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> ,use (rnrs exceptions)
scheme@(guile-user)> (guard (exc (else #f #f)) #f)
While compiling expression:
ERROR: Syntax error:
unknown file:3:12: cond: else must be the last clause in subform (else #f #f) of (cond (else #f #f) (else (re-raise)))
scheme@(guile-user)>

Taylan




Reply sent to taylanbayirli <at> gmail.com (Taylan Ulrich Bayırlı/Kammer):
You have taken responsibility. (Sun, 30 Aug 2015 11:53:01 GMT) Full text and rfc822 format available.

Notification sent to taylanbayirli <at> gmail.com (Taylan Ulrich Bayırlı/Kammer):
bug acknowledged by developer. (Sun, 30 Aug 2015 11:53:02 GMT) Full text and rfc822 format available.

Message #10 received at 21378-done <at> debbugs.gnu.org (full text, mbox):

From: taylanbayirli <at> gmail.com (Taylan Ulrich Bayırlı/Kammer)
To: 21378-done <at> debbugs.gnu.org
Subject: Re: R6RS guard's else chokes on multiple expressions
Date: Sun, 30 Aug 2015 13:52:39 +0200
Please ignore this bug report, since it was my fault.  I had a foreign
(rnrs exceptions) library in my load-path that took precedence.

Sorry about the noise.

Taylan




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 28 Sep 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 323 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.