[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] define-for-syntax & modules
From: |
Evan Hanson |
Subject: |
[Chicken-users] define-for-syntax & modules |
Date: |
Tue, 27 Sep 2011 09:29:58 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
It appears that modules either leak define-for-syntax bindings, or
aren't meant to contain them. If the latter is the case, please ignore.
However, this seems unintuitive.
(module test ()
(import scheme chicken)
(define-for-syntax + string-append))
$ csi -nq
#;1> (use test)
; loading ./test.import.scm ...
; loading /usr/lib/chicken/6/scheme.import.so ...
; loading /usr/lib/chicken/6/chicken.import.so ...
; loading ./test.so ...
#;2> (+ "a" "b" "c")
"abc"
#;3>
I found a note on import-for-syntax in the manual which looks like it
might refer to the same issue, but I'm not certain. In any case, I
thought I'd bring it up in case this is a bug, or if there's something
I'm missing.
Evan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-users] define-for-syntax & modules,
Evan Hanson <=