GNU bug report logs - #10246
R6RS library form broken?

Previous Next

Package: guile;

Reported by: Tobias Brandt <tob.brandt <at> googlemail.com>

Date: Wed, 7 Dec 2011 18:08:01 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Tobias Brandt <tob.brandt <at> googlemail.com>
Subject: bug#10246: closed (Re: bug#10246: R6RS library form broken?)
Date: Thu, 08 Dec 2011 20:07:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#10246: R6RS library form broken?

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 10246 <at> debbugs.gnu.org.

-- 
10246: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10246
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andy Wingo <wingo <at> pobox.com>
To: Ian Price <ianprice90 <at> googlemail.com>
Cc: Tobias Brandt <tob.brandt <at> googlemail.com>, 10246-done <at> debbugs.gnu.org
Subject: Re: bug#10246: R6RS library form broken?
Date: Thu, 08 Dec 2011 21:05:34 +0100
On Thu 08 Dec 2011 00:00, Ian Price <ianprice90 <at> googlemail.com> writes:

> Tobias Brandt <tob.brandt <at> googlemail.com> writes:
>
>> (library (foo))
>
> This is a misunderstanding on your part, I'm afraid. R6RS library forms
> are intended to wrap the code[0]; they are not declarations to be placed at
> the top. The manual does mention this[1], by noting the syntax for library
> is
>
> (library name (export export-spec ...) (import import-spec ...) body ...)

Indeed.  Thanks for the answer, Ian.

In the new email-happy bug system, to close a bug you edit the Cc: list
to add -done after the bug number, as I have done here.  Feel free to do
this for any bug that you feel is done; if we make a mistake, we can
simply re-open it.

I'm sure we could do better accounting as to the kind of resolution and
such, but I'm most concern with simply marking bugs as being resolved.

Regards, and happy hacking to you both :-)

Andy
-- 
http://wingolog.org/

[Message part 3 (message/rfc822, inline)]
From: Tobias Brandt <tob.brandt <at> googlemail.com>
To: bug-guile <at> gnu.org
Subject: R6RS library form broken?
Date: Wed, 7 Dec 2011 18:53:59 +0100
Hi,

I'm running the latest git version (2.0.3.244-04ec29).
Declaring a R6RS style library doesn't work:

(library (foo))

=>
ice-9/psyntax.scm:1422:30: In procedure expand-macro:
ice-9/psyntax.scm:1422:30: Syntax error:
source expression failed to match any pattern in form (library (foo))


while this does:

(define-module (foo))



This bug report was last modified 13 years and 224 days ago.

Previous Next


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