GNU bug report logs - #26955
macroexpand: documentation and actual behavior differ

Previous Next

Package: guile;

Reported by: isaac lewis <isaac.b.lewis <at> gmail.com>

Date: Tue, 16 May 2017 15:12:03 UTC

Severity: normal

Done: Taylan Kammer <taylan.kammer <at> gmail.com>

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 26955 in the body.
You can then email your comments to 26955 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#26955; Package guile. (Tue, 16 May 2017 15:12:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to isaac lewis <isaac.b.lewis <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Tue, 16 May 2017 15:12:03 GMT) Full text and rfc822 format available.

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

From: isaac lewis <isaac.b.lewis <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: macroexpand: documentation and actual behavior differ
Date: Tue, 16 May 2017 04:48:12 -0400
Guile version: 2.0.11
Machine type: x86_64-unknown-linux-gnu

===
Bug
===

The first 3 examples given in the documentation for 'macroexpand' in
section 9.4.2 do not expand to the printed results; for example

        (macroexpand '(+ 1 2)) yields
        =>
        #<tree-il (apply (toplevel +) (const 1) (const 2))>

instead of

        '(+ 1 2)

Moreover, the optional 'm' argument (see psyntax.scm: 2567) seems to
have no influence;

        (equal? (macroexpand '(+ 1 2)) (macroexpand '(+ 1 2) 'e)
(macroexpand '(+ 1 2) 'c))
         =>
         #t

Sincerely,
Ikester




Information forwarded to bug-guile <at> gnu.org:
bug#26955; Package guile. (Wed, 24 May 2017 06:02:01 GMT) Full text and rfc822 format available.

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

From: isaac lewis <isaac.b.lewis <at> gmail.com>
To: 26955 <at> debbugs.gnu.org
Date: Wed, 24 May 2017 02:01:16 -0400
This bug appears to have been fixed in version 2.2.




Reply sent to Taylan Kammer <taylan.kammer <at> gmail.com>:
You have taken responsibility. (Sun, 16 May 2021 18:06:02 GMT) Full text and rfc822 format available.

Notification sent to isaac lewis <isaac.b.lewis <at> gmail.com>:
bug acknowledged by developer. (Sun, 16 May 2021 18:06:02 GMT) Full text and rfc822 format available.

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

From: Taylan Kammer <taylan.kammer <at> gmail.com>
To: 26955-done <at> debbugs.gnu.org
Subject: macroexpand: documentation and actual behavior differ
Date: Sun, 16 May 2021 20:05:49 +0200
Closing this report as it seems fixed.

-- 
Taylan




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

This bug report was last modified 2 years and 310 days ago.

Previous Next


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