[parenscript-devel] Re: lisp-like lambda lists (keyword, option, and rest arguments)
John Fremlin
john at fremlin.org
Wed Aug 1 08:08:03 UTC 2007
Red Daly <reddaly at stanford.edu> writes:
> My changes are now synced up with the repository. Feel free to play
> around with the latest and greatest.
>
> You might notice that the function toArray() is not defined, required
> for &rest processing. toArray is simply..
Having &rest is really awesome. . .
>
> (defun to-array (array-like)
> (let ((result (array)))
> (dotimes (i array-like.length)
> (setf (aref array i) (aref array-like i)))))
Yet another reason to have a delayed "include this function iff it is
used" option . . . which is my vote for the next awesome feature ;-)
[...]
More information about the parenscript-devel
mailing list