Hi,

I have a rule looking like this:

(defrule
   ?b1 <- (t1 (s ?s1))
   ?b2 <- (t2 (s ?s2))
   (or (test (eq ?s1 x)) (test (eq ?s2 x)))
   =>
   ...)

This example simplifies the general case. I may have any number of
bindings, and the common slot 's' is checked to see if at least one of
the bound facts has a certain x value. Is there a more efficient way of
doing this? E.g. (member$ x (list ?b1 ?b2 ...)) ?

Thanks.

Henrique

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to