bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10991: syntax-local-binding does not play well with fluid-let-syntax


From: Andy Wingo
Subject: bug#10991: syntax-local-binding does not play well with fluid-let-syntax
Date: Fri, 06 Jul 2012 11:25:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Hi Stefan,

Sorry for the late reply.

On Sun 11 Mar 2012 12:47, Stefan Israelsson Tampe <address@hidden> writes:

> ;;This shows that f rebounds to yield #t but the info returns %f
> (eq?
>  (fluid-let-syntax ((f (lambda x #'#t)))
>    (pk (f 1))
>    (info f))
>  %f)

This is by design.  This is as in Racket, where there is a difference
between syntax-local-value and syntax-parameter-value.  In master, there
is an additional parameter to resolve-identifier,
`resolve-syntax-parameters?'.

Suggestion: if you want this, add a similar parameter to psyntax.scm in
stable-2.0, and in both branches plumb it through to a keyword argument
on syntax-local-binding.  Update the docs, too :)  You had the
beginnings of a patch on bug 10992.

Thanks!

Andy
-- 
http://wingolog.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]