I wonder if there are any plans to allow query's to be reused in accumulate functions? Something like

   query "multipleQueensHorizontal"
       Queen($id : id, $y : y);
       Queen(id > $id, y == $y);
   end

   rule "x"
     when
       Integer() from accumulate(
         count(query "multipleQueensHorizontal") // <==
       );
     then
       ...
    end

If not, mind if I make a (long term) issue if you think it's a good idea and possible to implement? Is there an issue for Multiple Pattern Accumulate and if not, mind if I create one?

Thanks as always :)

--
With kind regards,
Geoffrey De Smet

_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev

Reply via email to