[rules-users] Scope of bindings, identical patterns

2007-10-26 Thread Julian Morrison
Suppose I have a rule like: rule foo when $a : Cheese(name=Stilton) $b : Cheese(name=Stilton) then # etc end First question: is it possible that a == b ? In other words, can both patterns end up matching the same object in one activation? I have been assuming this is

Re: [rules-users] Scope of bindings, identical patterns

2007-10-26 Thread Mark Proctor
Julian Morrison wrote: Suppose I have a rule like: rule foo when $a : Cheese(name=Stilton) $b : Cheese(name=Stilton) then # etc end First question: is it possible that a == b ? In other words, can both patterns end up matching the same object in one activation? I