base, optparse: Introduce `case2' macros.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 22 Apr 2006 23:58:11 +0000 (00:58 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 23 Apr 2006 00:18:03 +0000 (01:18 +0100)
commit560e118666d0a7c41a43e2d86e2f38e3b931ef14
treebed3ebf71d4179567eb5c4f00d6472a229f629c3
parent93f0472497372859d9cb9bf7690044bd0e66f0ad
base, optparse: Introduce `case2' macros.

  * base: Add new `case2' macro, for fetching two values, switching on
    one and binding the other.  Also add `ecase2' to do the obvious
    thing.

  * optparse: Rewrite `do-options' to use `ecase2' (or `case2').
mdw-base.lisp
optparse.lisp