( b i n d i n g - v a l (get-binding var bindings))) (defun extend-...
Question:
( b i n d i n g - v a l (get-binding var bindings)))
(defun extend- bi ndi ngs (var val bindings
"Add a (var . value) pair t o a binding l i s t ."
(cons (make-binding var val)
;; Once we add a "r e a l" binding,
;; we can get r i d of the dummy no-bindings
( i f (eq bindings no-bindings)
ni 1 bi ndi ngs
(defun match-variable (var input 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: