You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a rule that fires if a fact exists, so
A(X,Y) <= has_fact(X) & other_stuff(X,Y)
If I load up my WME and none of them happen to assert has_fact(), the rule throws an exception.
I can get around it by asserting and retracting a dummy rule like this:
+ has_fact('dummy')
- has_fact('dummy')
The text was updated successfully, but these errors were encountered:
I have a rule that fires if a fact exists, so
A(X,Y) <= has_fact(X) & other_stuff(X,Y)
If I load up my WME and none of them happen to assert has_fact(), the rule throws an exception.
I can get around it by asserting and retracting a dummy rule like this:
+ has_fact('dummy')
- has_fact('dummy')
The text was updated successfully, but these errors were encountered: