This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: tentative fluid-let patch
- From: Per Bothner <per at bothner dot com>
- To: Dean Ferreyra <dferreyra at igc dot org>
- Cc: Kawa List <kawa at sources dot redhat dot com>
- Date: Fri, 13 May 2005 00:22:48 -0700
- Subject: Re: tentative fluid-let patch
- References: <42826522.7010107@bothner.com> <42844330.4020200@igc.org>
Dean Ferreyra wrote:
This first error I'm getting in a file that uses "define" to define a
couple of variables and then uses them in fluid-lets. The line it's
complaining about looks like this:
(define *CURRENT-COORD-SEXP* #f)
The module has a "module-export"; if I explicitly export the variable,
the compile succeeds.
I managed to reproduce the error when compiling this:
(module-export foo)
(define *CURRENT-COORD-SEXP* #f)
(define (foo x)
(fluid-let ((*CURRENT-COORD-SEXP* x))
(bar)))
(define (bar)
(list *CURRENT-COORD-SEXP*))
I'll look at what's happening tomorrow.
--
--Per Bothner
per@bothner.com http://per.bothner.com/