[rules-dev] DRL sorting (Bind to eval result?)

Davide Sottara dsotty at gmail.com
Tue Nov 29 09:17:59 EST 2011


What about a "custom" accumulate function?

query "sortedItems" 
      $sortedValues: List() from accumulate (
            $f : Fact()
            sortByAnyMethodYouPrefer( $f ) 
      )
end 

We could provide some implementations, even better if incremental.
In the future, we'll probably provide even better native support for
this kind of operations. 

--
View this message in context: http://drools.46999.n3.nabble.com/DRL-sorting-Bind-to-eval-result-tp3545246p3545281.html
Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com.


More information about the rules-dev mailing list