Count the number of times a rule is declared - SWIProlog

后端 未结 0 404
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-19 18:22

I\'d like to count the number of times a certain predicate has been declared.

For example "my_predicate/3":

        my_predicate(1,A,B) :- A          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题