(q '[:find ?A ?B
:where (or (and [?A :foo ?B] [(pos? ?B)]))]
[[1 :foo 2]])
EvaException Insufficient bindings: no predicate could be selected. eva.error/eva-exception (error.clj:121)
The set of required variables in an or clause is the union of the sets of required variables in its subclauses, which cannot be derived interior to the subclause, prior to their required binding.
Datomic Example:
Eva Example:
The set of required variables in an or clause is the union of the sets of required variables in its subclauses, which cannot be derived interior to the subclause, prior to their required binding.