From mantoniotti at common-lisp.net Thu Dec 17 16:41:38 2009 From: mantoniotti at common-lisp.net (mantoniotti) Date: Thu, 17 Dec 2009 11:41:38 -0500 Subject: [cl-unification-cvs] CVS cl-unification Message-ID: Update of /project/cl-unification/cvsroot/cl-unification In directory cl-net:/tmp/cvs-serv18479 Modified Files: match-block.lisp Log Message: Added MATCHF* macros. --- /project/cl-unification/cvsroot/cl-unification/match-block.lisp 2009/04/15 10:16:24 1.9 +++ /project/cl-unification/cvsroot/cl-unification/match-block.lisp 2009/12/17 16:41:38 1.10 @@ -303,6 +303,68 @@ (let ((,object-var ,object)) ,(generate-matchers non-otherwise-clauses)))))) + +(defmacro matchf-case ((object &key errorp default-substitution match-case-named) + &rest clauses) + "MATCHF-CASE sets up a CASE-like environment for multiple template matching clauses. + +The syntax of MATCHF-CASE comprises a number of clauses of the form + + ::= | + ::= (