GNU bug report logs - #32847
Wrong macro expansion in eval

Previous Next

Package: guile;

Reported by: Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>

Date: Wed, 26 Sep 2018 20:04:02 UTC

Severity: normal

Tags: notabug

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>
To: 32847 <at> debbugs.gnu.org
Subject: bug#32847: Wrong macro expansion in eval
Date: Wed, 26 Sep 2018 22:02:51 +0200
[Message part 1 (text/plain, inline)]
This for guile 2.4 and master,

> (eval `(let-syntax ((f (lambda (x) ,#'(+ (pk 'a 1) 2)))) f) (cu
rrent-module))

;;; (#<syntax a> 1)


But without eval:
> (let-syntax ((f (lambda (x) #'(+ (pk 'a 1) 2)))) f)

;;; (a 1)
[Message part 2 (text/html, inline)]

This bug report was last modified 6 years and 242 days ago.

Previous Next


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