[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parameters

From: Sebastian Tennant
Subject: Re: Parameters
Date: Mon, 04 Feb 2008 17:45:28 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Quoth Chusslove Illich <address@hidden>:
>> [: Sebastian Tennant :]
>> Why does the second procedure fail regardless of how it is called?
> Because the recursive call in it is of the first type, not corresponding to
> the base call.

Ah, of course... 

> You would need to use apply, i.e.
>   (+ (apply add (cdr l)) (car l))


Many thanks to all.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]