Expand out all pattern matching abbreviations in pat. (cond ((and (symbolp pat) (get pat 'expand-pat-match-abbrev))) ((atom pat)

Question:

"Expand out all pattern matching abbreviations in pat."

(cond ((and (symbolp pat) (get pat 'expand-pat-match-abbrev)))

((atom pat) pat)

(t (cons (expand-pat-match-abbrev (first pat))

(expand-pat-match-abbrev (rest pat))))))

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: