Closed LyzardKing closed 1 year ago
Hi @yuce Is it possible to add modules (via use_module)? As I would do in prolog: :- use_module('module', [ predicate/2 as new_predicate ]).
:- use_module('module', [ predicate/2 as new_predicate ]).
Have you tried:
module_name = 'foo' prolog.query(f"use_module(library({module_name}),[])")
Hi @yuce Is it possible to add modules (via use_module)? As I would do in prolog:
:- use_module('module', [ predicate/2 as new_predicate ]).