mdw-base.lisp: Refactor `with-places' incompatibly.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 21 Oct 2015 23:46:28 +0000 (00:46 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 21 Oct 2015 23:46:51 +0000 (00:46 +0100)
commit171bb403b78e6868ee77250681b7c5adb0c85bd9
tree308a87cd2a08d096dc6ae0d8cd632a04eb548659
parent53ccd04251004c520ab714e8ffc5b80f40536459
mdw-base.lisp: Refactor `with-places' incompatibly.

Now there are two macros.

  * `with-places' is a simple macro which does the hard work of
    capturing places with symbol-macros.

  * `with-places/gensyms' is a hairy nested-backquote macro helper which
    does the job of the old `with-places'.

Because of this split of responsibilities, no callers of these macros
have to mess with environments explicitly, which simplifies
`update-place' and `update-place-after' slightly.
mdw-base.lisp