Re:Reading a Programmer's Guide to Common Lisp
by kazinator on Friday February 23, 2024 @12:47AM
(#39477390)
TXR Lisp:
:match is a new kind of macro, called a parameter list macro, that I invented. defmacro doesn't know anything about pattern matching. Parameter list macros are expanded in any function/lambda or macro parameter list situation. The :match macro assumes that the function's body consists of pattern matching clauses. It infers the parameters from it, which get substituted.
[ Parent
| on HN ]
There are no comments on this comment yet.