On Tue 18 Oct 2011 16:32, Nala Ginrut <nalaginrut@gmail.com> writes:`fp' is a lexical binding, not a module-level binding. So no, this
> -----------------------wrong code------------------------------
> (define (func)
> (let ((fp (open-output-file "/tmp/aaa")))
> (eval-string "(write 123 fp)" (current-module))
> ))
> -----------------------end code------------------------------------
won't work. You won't be able to get to lexical variables via `eval'
(or `eval-string').
Andy
--
http://wingolog.org/