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: Taylan Kammer <taylan.kammer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
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 message dated Sun, 16 May 2021 20:05:49 +0200
with message-id <4d2a7413-a025-6829-5d0d-736628e0b78a <at> gmail.com>
and subject line macroexpand: documentation and actual behavior differ
has caused the debbugs.gnu.org bug report #26955,
regarding macroexpand: documentation and actual behavior differ
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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


[Message part 3 (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


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

Previous Next


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