[plt-scheme] Self evaluating "objects"
On Mon, 14 Jul 2008 18:14:19 +0300, Jos Koot <jos.koot at telefonica.net>
wrote:
> Correction: W. V. Quine.
> Mathematical logic.
> Jos
>>>
>>> I know how to quote some code, but I cannot see how I can "unquote" it.
>>
>> That's the whole point of quoting: quoting detaches the quoted text
>> from its environment. Hence when unquoting, the environment of the
>> original quotation is lost!
Thank you. Here is an example:
#lang scheme
(define (f x y) (eval `(let ((x ,x) (y ,y)) ,(read))) )
(f 5 6)