[Lisa-users] faking multislots with lists
Brought to you by:
youngde
From: <kro...@gm...> - 2008-10-24 19:59:02
|
hi, I'm working my way thought Giarratano and Riley's "Expert Systems Principles and Practice" and converting the clips examples to lisa. there is an example that uses multislots to match the names of people. the pattern in the rule is: (person (name ?name) (children $?before ?child $?after)) I tried something like the following but it does not work (there is no match): (person (name ?name) (children ?children (member ?child ?children))) my attempt to translate it to lisa is here: http://paste.lisp.org/display/69135 and the original clisp in here: http://paste.lisp.org/display/69135#1 what am I doing wrong? Pedro |