I think Steve Solomon wrote:
This is a minor complaint. Why can't one use nil to match an empty list?
Short answer: because Jess inherited its basic rule language semantics
from CLIPS, and that's how it works in CLIPS.
Only the pattern (sprocket ?id) matches (sprocket 2) with no following
I think that Ross Judson said:
At this point I would like fact 2 to be retracted...I can't quite see how
to get there.
Hi Ross,
One obvious problem is that you have a logic error in your rule. You have
the ?id variable being bound to the return value of the member$ function.
Quoting the Jess