Re: Nested &REST parameter vs. single named parameter



Michael J. Forster wrote:
> Hi,
> ...
> In another thread [2], Steven E. Harris suggested that this might be
> just a matter of style, but that he found the choice of idiom
> difficult. In that same thread, Barry Margolin responded:
>
> It's just a convenience feature that allows for terser
> function calls. There's no semantic difference between:
>
> (defun fun1 (&rest args) ...)
> (fun1 ...)
>
> and
>
> (defun fun2 (args) ...)
> (fun2 (list ...))

Except in the case that fun1 destructively modifies args, and is
running in a Lisp implementation that doesn't provide freshly-consed
lists in &rest parameters (Zetalisp springs to mind).

.



Relevant Pages

  • Lisa Marie Presley On Michael Jackson:
    ... I can't recall the exact subject matter but he may have been ... not live or know a "Normal life" found a connection, ... Michael Jackson's being or actions. ...
    (rec.music.gdead)
  • Re: Lisa Marie Presley On Michael Jackson:
    ... I can't recall the exact subject matter but he may have been ... not live or know a "Normal life" found a connection, ... Michael Jackson's being or actions. ...
    (rec.music.gdead)
  • Re: For Tiny: Men Vs Women Fearing Walking The Streets At Night
    ... Michael, ... matter to you AT ALL! ... WOULD post some other poster's RL info (and never mind that you have NO ... business saying, "Well, she would, so that makes posting hers all right!" ...
    (alt.true-crime)
  • Re: GH - Michael and Morgan Friday
    ... What became of the bodyguards that are ... supposed to be with the two boys no matter where they go? ... Michael could give them the slip. ...
    (rec.arts.tv.soaps.abc)