Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SICStus Prolog インタープリターでロードされたモジュールで定義されたすべての関係のリストを取得する方法はありますか?
current_predicate/1 built_in 述語を使用できます。
findall(Predicate, current_predicate(Module:Predicate), L)