Make some of the dependencies in library predicates explicit.
This commit is contained in:
parent
889e14b46b
commit
8e4bb51be0
@ -245,8 +245,8 @@
|
||||
flag_get/2,
|
||||
flags_reset/0]).
|
||||
|
||||
:- use_module(library(lists)).
|
||||
:- use_module(library(system)). % for file operations
|
||||
:- use_module(library(lists), [append/3, memberchk/2, reverse/2]).
|
||||
:- use_module(library(system), [delete_file/1, file_exists/1, file_property/2, make_directory/1]). % for file operations
|
||||
|
||||
flag_define(Flag, Type, DefaultValue, Message):-
|
||||
flag_define(Flag, general, Type, DefaultValue, flags:true, Message).
|
||||
|
@ -276,7 +276,7 @@
|
||||
hash_table_display/3,
|
||||
problog_key_to_tuple/2]).
|
||||
|
||||
:- use_module(library(lists)).
|
||||
:- use_module(library(lists), [member/2]).
|
||||
%
|
||||
% General use predicates
|
||||
%
|
||||
|
@ -212,7 +212,8 @@
|
||||
|
||||
:- style_check(all).
|
||||
:- yap_flag(unknown,error).
|
||||
:- use_module(library(lists)).
|
||||
|
||||
:- use_module(library(lists), [member/2, reverse/2, select/3]).
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% intervals_merge(+Interval1,+Interval2,-ResultingInterval)
|
||||
|
@ -233,7 +233,7 @@
|
||||
problog_tabling_get_negated_from_id/2,
|
||||
op(1150, fx, problog_table)]).
|
||||
|
||||
:- use_module(library(lists)). % not necessary?
|
||||
:- use_module(library(lists), [memberchk/2]).
|
||||
|
||||
:- use_module(extlists, _, [open_end_memberchk/2,
|
||||
open_end_add/3,
|
||||
|
@ -246,8 +246,8 @@
|
||||
|
||||
% load library modules
|
||||
:- use_module(library(tries)).
|
||||
:- use_module(library(lists)).
|
||||
:- use_module(library(system)).
|
||||
:- use_module(library(lists), [append/3, member/2, memberchk/2]).
|
||||
:- use_module(library(system), [delete_file/1, shell/1]).
|
||||
:- use_module(library(ordsets), [ord_intersection/3, ord_union/3]).
|
||||
|
||||
% load our own modules
|
||||
|
@ -211,7 +211,7 @@
|
||||
variable_elimination_stats/3
|
||||
]).
|
||||
|
||||
:- use_module(library(lists)).
|
||||
:- use_module(library(lists), [append/3, delete/3, memberchk/2, reverse/2]).
|
||||
:- use_module(library(tries)).
|
||||
|
||||
:- use_module('flags', _, [problog_define_flag/5]).
|
||||
|
Reference in New Issue
Block a user