Re: [rules-users] Is emptieness supported in Drools 5 (LHS)

2009-08-19 Thread Edson Tirelli
Sometimes this is indeed not clear, so I will try to explain here. Drools uses MVEL to resolve some expressions and semantic code. Although we would like to make it 100% compatible and enable it to use mvel everywhere, that is easier said than done (but we do have someone working on that).

Re: [rules-users] Is emptieness supported in Drools 5 (LHS)

2009-08-19 Thread Macon Pegram
Edson, Thanks for clarifying this. I appreciate it. Macon 2009/8/19 Edson Tirelli tire...@post.com Sometimes this is indeed not clear, so I will try to explain here. Drools uses MVEL to resolve some expressions and semantic code. Although we would like to make it 100% compatible and

[rules-users] Is emptieness supported in Drools 5 (LHS)

2009-08-18 Thread Pegram, Macon
According to MVEL they've added a convenience for checking the emptiness of a value (see: http://mvel.codehaus.org/Value+Tests ) In MVEL you'd simply write: myMap == empty This seemed like a MUCH cleaner way to write some of the LHS of the rules, so I thought I'd try it out. Given