This is it!
I do not know how does clips work internally but looks like this two
conditions:
(A (A $? ?T $?))
(test (and (eq (fact-slot-value ?T a) 3) (eq (fact-slot-value ?T
b)
4)))
correspond to traverse all the fields in A and then check the
condition for each of them whereas
encoding the conditions in the pattern matching instance could be
faster. Intuitively,
I was expecting something like (A $? (T (a 3) (b 4)) $?).
Thanks a lot!
Adria