Contents    Page-10    Prev    Next    Page+10    Index   

(match '(?man loves ?woman)
         '(john loves mary))

  • A: ((?woman mary))
  • B: ((?man john) (t t))
  • C: nil
  • D: ((?woman mary) (?man john) (t t))
  • E: true

    Answer: D

    match returns a binding list in which each variable is paired with what it matches.