Subject: Re: simple swap func
From: Erik Naggum <>
Date: 1997/04/18
Newsgroups: comp.lang.lisp
Message-ID: <>

* Christopher J. Vogt
| How about "parallel setq":
| (psetq a b b a)

`psetq' is also a macro, and at least in one implementation results in
_exactly_ the same code as `rotatef'.

but while we're on it...

    (multiple-value-setq (a b) (values b a))

which also results in exactly same code as `rotatef'...

I'm no longer young enough to know everything.