unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#26955: macroexpand: documentation and actual behavior differ
@ 2017-05-16  8:48 isaac lewis
  2017-05-24  6:01 ` bug#26955: isaac lewis
  2021-05-16 18:05 ` bug#26955: macroexpand: documentation and actual behavior differ Taylan Kammer
  0 siblings, 2 replies; 3+ messages in thread
From: isaac lewis @ 2017-05-16  8:48 UTC (permalink / raw)
  To: 26955

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#26955:
  2017-05-16  8:48 bug#26955: macroexpand: documentation and actual behavior differ isaac lewis
@ 2017-05-24  6:01 ` isaac lewis
  2021-05-16 18:05 ` bug#26955: macroexpand: documentation and actual behavior differ Taylan Kammer
  1 sibling, 0 replies; 3+ messages in thread
From: isaac lewis @ 2017-05-24  6:01 UTC (permalink / raw)
  To: 26955

This bug appears to have been fixed in version 2.2.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#26955: macroexpand: documentation and actual behavior differ
  2017-05-16  8:48 bug#26955: macroexpand: documentation and actual behavior differ isaac lewis
  2017-05-24  6:01 ` bug#26955: isaac lewis
@ 2021-05-16 18:05 ` Taylan Kammer
  1 sibling, 0 replies; 3+ messages in thread
From: Taylan Kammer @ 2021-05-16 18:05 UTC (permalink / raw)
  To: 26955-done

Closing this report as it seems fixed.

-- 
Taylan





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-16 18:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-16  8:48 bug#26955: macroexpand: documentation and actual behavior differ isaac lewis
2017-05-24  6:01 ` bug#26955: isaac lewis
2021-05-16 18:05 ` bug#26955: macroexpand: documentation and actual behavior differ Taylan Kammer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).