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

unofficial mirror of bug-guile@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guile-bugs/0 guile-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guile-bugs guile-bugs/ https://yhetil.org/guile-bugs \
		bug-guile@gnu.org
	public-inbox-index guile-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.lisp.guile.bugs
	nntp://news.gmane.io/gmane.lisp.guile.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git