--- On Wed, 2/18/09, Geoffrey De Smet <[email protected]> wrote:
> The current workarounds [to undo-then] are clunky:
> - Writing an negative (opposite) rule isn't efficient:
> it means declaring the rule twice effectively. Also the
> negative rule is usually using lots of or's and
> not's which isn't fast.
This would be made easier by...drum roll please...the else clause! :)
Now, if there was the else clause plus undo-then/closures you could probably
write an entire complex ruleset in one rule. Might as well just use perl,
then. :P
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev