I have a rule looking something like this:
(defrule exists-parent
?taxon <- (taxon (id ~1) (parent ?parent))
(test(taxon-exists ?parent))
=>
(assert (hint "...")))
Now I'd like to make the conditions 'logical', so that the 'hint' is
retracted automatically when no longer appropriate. Unfortunately
neither of the following work:
(defrule exists-parent
?taxon <- (logical (and
(taxon (id ~1) (parent ?parent))
(test(taxon-exists ?parent)))
=>
(assert (hint "...")))
Any ideas?
--
Eric Jain
--------------------------------------------------------------------
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]
--------------------------------------------------------------------