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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: isaac lewis <isaac.b.lewis <at> gmail.com>
Subject: bug#26955: closed (macroexpand: documentation and actual behavior
 differ)
Date: Sun, 16 May 2021 18:06:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#26955: macroexpand: documentation and actual behavior differ

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 26955 <at> debbugs.gnu.org.

-- 
26955: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26955
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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

[Message part 3 (message/rfc822, inline)]
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



This bug report was last modified 4 years and 4 days ago.

Previous Next


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