yes we want OPSJ style else statements, edson has an idea on how to do that, just a matter of time :(--- On Wed, 2/18/09, Geoffrey De Smet <ge0ffrey.spam@gmail.com> 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! :)
heh, that's true you would have potentially encapsulated 4 possible executions in a single rule.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
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev