I s t h i s a singl e-matchi ng pattern? E.g. (?is x predicate) (?and...
Question:
" I s t h i s a singl e-matchi ng pattern?
E.g. (?is x predicate) (?and . patterns) (?or . p a t t e r n s ) ."
(and (consp pattern)
(single-match-fn ( f i r s t p a t t e r n ) ) ) )
(defun segment-matcher ( p a t t e r n i n p u t bindings)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Paradigms Of Artificial Intelligence Programming Case Studies In Common Lisp
ISBN: 9781558601918
1st Edition
Authors: Peter Norvig
Question Posted: