guile-devel
[Top][All Lists]
Advanced

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

Re: Why not support (begin), (cond), (case-lambda), etc?


From: Alex Shinn
Subject: Re: Why not support (begin), (cond), (case-lambda), etc?
Date: Fri, 6 Jan 2012 21:38:30 +0900

On Fri, Jan 6, 2012 at 9:26 PM, David Kastrup <address@hidden> wrote:
> Alex Shinn <address@hidden> writes:
>>
>> This analogy is meaningless, but for the record
>> you should be using fold or reduce here.
>
> I don't think it is the task of a language to enforce arbitrary
> aesthetic criteria.  He "should be using"?

This has nothing to do with style, but performance
and scalability.  "apply" will blow up in most implementations
depending on the length of the list.

And I never said there was anything wrong with (+)
returning 0, please don't put words in my mouth.

-- 
Alex



reply via email to

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