cl-match
extended ML-style pattern matching library

cl-match is now unmaintained. We recommend optima instead for pattern-matching.

As far as I can tell, this library is dead. Links to the author's home page from the project page are busted, and the mailing list is morbid. The library was written using the author's idiosyncratic standard lisp library, so it will be difficult for an outsider to maintain. Suggest staying away.
home download documentation asdf-install ASDF-install package (obsolete) http://common-lisp.net/project/cl-match/dl/cl-match_0.1.8.tgz

An important bug fix (against 0.1.8) that prevented matching of arrays of length 1 is available at http://github.com/tonyg/cl-match.


  • Multiple values are supported.
  • Multiple occurances of the same variable name are implicitly tested for (EQL) equality.
  • Alternative patterns can have their own individual guards.
  • New patterns can be defined by the user.