[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Implement `the-environment' and `local-eval' in evaluator
From: |
Andy Wingo |
Subject: |
Re: [PATCH] Implement `the-environment' and `local-eval' in evaluator |
Date: |
Sat, 07 Jan 2012 02:18:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
On Fri 16 Dec 2011 18:44, Mark H Weaver <address@hidden> writes:
> Andy Wingo <address@hidden> writes:
>>> (define foo 'module-a)
>>> (define-syntax alt-environment
>>> (syntax-rules ()
>>> ((_) (the-environment))))
>>
>>> and then evaluate the following within module B:
>>
>>> (define foo 'module-b)
>>> (local-eval 'foo (alt-environment))
>>
>>> What should the result be?
>
> Having thought more about this, I'm fully convinced that 'module-a
> should be the answer.
Me too.
Andy
--
http://wingolog.org/
- Re: [PATCH] Implement `the-environment' and `local-eval' in evaluator,
Andy Wingo <=