[Top][All Lists]

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

Re: list versus apply

From: Kevin Ryde
Subject: Re: list versus apply
Date: Mon, 06 Jun 2005 06:37:20 +1000
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.3 (gnu/linux)

Marius Vollmer <address@hidden> writes:
>   (define (list . args) args)
> is an acceptable definition of list.  Is it not?

Yep, because args is of course a fresh list when calling a lambda, but
it looks like primitives (C code) aren't called with a copied list
like that.

(I guess having primitives like that makes some sense, only a few are
interested in modifying or re-using their input "rest" list.)

reply via email to

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