[rules-users] using forall with from

Garrett Conaty garrett at conaty.net
Sat Mar 14 18:03:26 EDT 2009


outstanding.  thanks very much.

On Mar 14, 2009, at 11:39 AM, Edson Tirelli wrote:

>
>    Yes, JBRULES-1611. I just fixed this and committed to revision  
> #25650. It will be in the next release.
>
>    []s
>    Edson
>
>
> 2009/3/14 Mark Proctor <mproctor at codehaus.org>
> Garrett Conaty wrote:
>>
>> I've got an odd parse case that I'm hoping the parser wizards could  
>> confirm is the same as the bug JBRULES-1611:
>>
>> This works
>>
>> not (exists (Event(eval  
>> (eventDate.after(CalendarUtil.getDateDaysPast(30)))) from  
>> $room.events))
>>
>>
>> but this doesn't
>>
>> forall( Event(eval  
>> (eventDate.before(CalendarUtil.getDateDaysPast(30)))) from  
>> $room.events )
>>
>> It's like doing math proofs all over again.  Technically I think  
>> I've got to fix the logic because !< is >-= rather than >.
> I believe there is already a JIIRA for saying that 'from' doesn't  
> work with 'forall'
>>
>> Thanks,
>> Garrett
>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
>
> -- 
>  Edson Tirelli
>  JBoss Drools Core Development
>  JBoss, a division of Red Hat @ www.jboss.com
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090314/78e269fb/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2419 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20090314/78e269fb/attachment.bin 


More information about the rules-users mailing list