Re: Anything better for delayed lexical evaluation than (lambda () ...)?

2011-12-11 Thread David Kastrup
Marco Maggi writes: > David Kastrup wrote: >> Hi, if I have something read that is evaluated later, the >> lack of procedure-environment in Guilev2 implies that I >> have to wrap the stuff in (lambda () ...) in order to >> capture the lexical environment for evaluation. > > Sorry to step

Re: Anything better for delayed lexical evaluation than (lambda () ...)?

2011-12-11 Thread David Kastrup
David Kastrup writes: > Marco Maggi writes: > >> David Kastrup wrote: >>> Hi, if I have something read that is evaluated later, the >>> lack of procedure-environment in Guilev2 implies that I >>> have to wrap the stuff in (lambda () ...) in order to >>> capture the lexical environment f

Re: Anything better for delayed lexical evaluation than (lambda () ...)?

2011-12-11 Thread Mark H Weaver
David Kastrup writes: > Basically I need to evaluate dynamic code in a given lexical environment > rather than at top and/or module level. > > For a language that is supposed to be a building block for extension > languages, not really a concept that is all that unusual I would think. Guile 2 is

Re: Anything better for delayed lexical evaluation than (lambda () ...)?

2011-12-11 Thread David Kastrup
Mark H Weaver writes: > David Kastrup writes: >> Basically I need to evaluate dynamic code in a given lexical environment >> rather than at top and/or module level. >> >> For a language that is supposed to be a building block for extension >> languages, not really a concept that is all that unus