How to safely temporarily change the occurs check flag?

前端 未结 0 1558
梦谈多话
梦谈多话 2021-02-04 19:38

I am using the following code to temporarily change the occurs check flag:

with_occurs_check(G) :-
   current_prolog_flag(occurs_check, F),
   setup_call_cleanup(         


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