Ryan Newton wrote:
> Now, this is probably the intended behavior. The R6RS eval requires
> an explicit environment for evaluation. But I thought by doing import
> (primitives ...) I was getting access to the old larceny eval, with
> the "dirty" behavior that it inherits the top-level environment.
Andre explained this.
Just in case this is holding you up, I'm going to show
you an extremely fragile Larceny-specific hack that
happens to work in v0.96, but is likely to stop working
in some future version of Larceny:
% larceny -err5rs
Larceny v0.96 "Fluoridation" (...)
ERR5RS mode (no libraries have been imported)
> (import (rnrs) (primitives aeryn-evaluator))
> (define x 99)
> (aeryn-evaluator 'x)
99
(Aeryn is the internal code name of Larceny's ERR5RS mode.)
Will
_______________________________________________
Larceny-users mailing list
[email protected]
https://lists.ccs.neu.edu/bin/listinfo/larceny-users