bug-guile
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
bug#10992: patch and fixed test
From
:
Stefan Israelsson Tampe
Subject
:
bug#10992: patch and fixed test
Date
:
Sun, 18 Mar 2012 22:11:33 +0100
Racket has two versions of syntax-local-binding, one that does lookup of syntax parameters and one that don't. So it would be interesting to know why.
Anyway with this mail, there is a patch that enable syntax-local-value to lookup syntax-parameters
as well.
Also let's fix the test. With the definitions as in the previous mail use in stead,
(define-syntax info
(lambda (x)
(syntax-case x ()
((_ f)
(let-values (((key ret) (syntax-local-binding #'f)))
(datum->syntax x (eq? ret %f)))))))
and
(info f) => #t
(fluid-let-syntax ((f (lambda x #'#t))) (info f)) => #f
resolve-identifier.patch
Description:
Text Data
reply via email to
[
Prev in Thread
]
Current Thread
[Next in Thread]
bug#10992: error signaled for syntax expression
,
Stefan Israelsson Tampe
,
2012/03/11
bug#10992: error signaled for syntax expression
,
Mark H Weaver
,
2012/03/11
bug#10992: patch and fixed test
,
Stefan Israelsson Tampe
<=
Prev by Date:
bug#10992: error signaled for syntax expression
Next by Date:
bug#11048: Trunk fails guardians.test (commit 01e909d90a130f4987b70edae2dbd5a2b33edae7)
Previous by thread:
bug#10992: error signaled for syntax expression
Next by thread:
bug#11048: Trunk fails guardians.test (commit 01e909d90a130f4987b70edae2dbd5a2b33edae7)
Index(es):
Date
Thread