[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Me no understand scoping
From: |
Neil Jerram |
Subject: |
Re: Me no understand scoping |
Date: |
Thu, 31 Jul 2008 08:20:06 +0100 |
2008/7/30 Maciek Godek <address@hidden>:
>
> By the way I have a question (regarding not using eval).
> I want to pass the contents of a list to a function that accepts the
> so-called "rest" args.
> (let ((l '(1 2 3 4 5)))
> (let ((operation (append '(+) l)))
> (primitive-eval operation)
> )
> )
>
> How to achieve this effect without using eval?
> (I've tried (+ . l) but it didn't work out)
(apply + l)
>> The view of the scheme community as a whole is that first class lexical
>> environments are irreconcilable with the need to compile (optimize) code.
>
> Certainly there's a faction that thinks differently :]
If and when we have an optimized compiler, I imagine there would be
some way of allowing the environment to be optimized away when not
explicitly wanted, but kept available when it is wanted.
> Yeah, I always write additional layers so the code corresponds to the
> way I think. (Everybody does, don't they?)
Yes!
Regards,
Neil
- Me no understand scoping, Maciek Godek, 2008/07/29
- Re: Me no understand scoping, Clinton Ebadi, 2008/07/29
- Re: Me no understand scoping, Maciek Godek, 2008/07/30
- Re: Me no understand scoping, Jon Wilson, 2008/07/30
- Re: Me no understand scoping, Klaus Schilling, 2008/07/30
- Re: Me no understand scoping, Maciek Godek, 2008/07/30
- Re: Me no understand scoping,
Neil Jerram <=
- Re: Me no understand scoping, Maciek Godek, 2008/07/31
- Re: Me no understand scoping, Neil Jerram, 2008/07/31
- Re: Me no understand scoping, Maciek Godek, 2008/07/31
- Re: Me no understand scoping, Clinton Ebadi, 2008/07/31