[Ecls-list] Latest fixes

Gabriel Dos Reis gdr at integrable-solutions.net
Sun Nov 15 19:28:14 UTC 2009


On Sun, Nov 15, 2009 at 12:13 PM, Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> wrote:
> On Sun, Nov 15, 2009 at 5:10 PM, Gabriel Dos Reis
> <gdr at integrable-solutions.net> wrote:
>> On Sun, Nov 15, 2009 at 4:07 AM, Juan Jose Garcia-Ripoll
>> <juanjose.garciaripoll at googlemail.com> wrote:
>>> * APPEND must not copy the last argument.
>>>
>>> * MULTIPLE-VALUE-BIND is replaced with a LET form when it only defines
>>> a single variable. This leads to faster and simpler code.
>>
>> I have a related question.  What is the "cost" of using LET forms as
>> opposed to applying LAMBDAs?
>
> I forgot to add that ECL replaces the application of LAMBDAs with LET
> forms, at least in C-compiled code. More or less
> ((LAMBDA (A) (PRINT A)) 2) -> (LET ((A 2)) (PRINT A))

OK, thanks!

-- Gaby




More information about the ecl-devel mailing list