--- On Thu, 2/19/09, Geoffrey De Smet <[email protected]> wrote:
> What would an "else clause" do?
The else clause(s) could be indexed by condition. This has been implemented by
Dr Forgy's OPSJ. It looked something like this:
rule
when
1: Foo()
2: Bar()
3: Bas()
then
//Everything matches
else 3:
//Foo and Bar match, No Bas
else 2:
//Foo matches, No Bar, Bas unknown
else 1:
//No Foo, Bar and Bas unknown
end
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev