mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
Move some imports to the implementation section.
This commit is contained in:
@@ -38,8 +38,6 @@
|
||||
:- module parse_tree.check_import_accessibility.
|
||||
:- interface.
|
||||
|
||||
:- import_module mdbcomp.
|
||||
:- import_module mdbcomp.sym_name.
|
||||
:- import_module parse_tree.error_spec.
|
||||
:- import_module parse_tree.prog_item.
|
||||
|
||||
@@ -78,6 +76,8 @@
|
||||
|
||||
:- import_module libs.
|
||||
:- import_module libs.globals.
|
||||
:- import_module mdbcomp.
|
||||
:- import_module mdbcomp.sym_name.
|
||||
:- import_module parse_tree.item_util.
|
||||
:- import_module parse_tree.prog_data.
|
||||
:- import_module parse_tree.prog_data_foreign.
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
:- import_module parse_tree.var_table.
|
||||
|
||||
:- import_module list.
|
||||
:- import_module map.
|
||||
|
||||
%---------------------------------------------------------------------------%
|
||||
%
|
||||
@@ -139,6 +138,7 @@
|
||||
|
||||
:- import_module assoc_list.
|
||||
:- import_module int.
|
||||
:- import_module map.
|
||||
:- import_module maybe.
|
||||
:- import_module pair.
|
||||
:- import_module require.
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
:- import_module bool.
|
||||
:- import_module list.
|
||||
:- import_module map.
|
||||
:- import_module term.
|
||||
|
||||
%---------------------------------------------------------------------------%
|
||||
|
||||
@@ -220,6 +219,7 @@
|
||||
:- import_module int.
|
||||
:- import_module require.
|
||||
:- import_module string.
|
||||
:- import_module term.
|
||||
|
||||
%---------------------------------------------------------------------------%
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
:- import_module list.
|
||||
:- import_module set.
|
||||
:- import_module term.
|
||||
|
||||
%---------------------------------------------------------------------------%
|
||||
|
||||
@@ -68,6 +67,8 @@
|
||||
|
||||
:- implementation.
|
||||
|
||||
:- import_module term.
|
||||
|
||||
%---------------------------------------------------------------------------%
|
||||
|
||||
set_of_type_vars_in_type(Type, SetOfTVars) :-
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
:- import_module parse_tree.prog_data.
|
||||
|
||||
:- import_module list.
|
||||
:- import_module term.
|
||||
|
||||
%---------------------------------------------------------------------------%
|
||||
%
|
||||
@@ -138,6 +137,7 @@
|
||||
:- import_module parse_tree.prog_type_scan.
|
||||
|
||||
:- import_module require.
|
||||
:- import_module term.
|
||||
|
||||
%---------------------------------------------------------------------------%
|
||||
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
:- import_module parse_tree.prog_data.
|
||||
|
||||
:- import_module list.
|
||||
:- import_module map.
|
||||
:- import_module term.
|
||||
|
||||
%---------------------------------------------------------------------------%
|
||||
%
|
||||
@@ -108,7 +106,9 @@
|
||||
:- import_module parse_tree.prog_type_scan.
|
||||
:- import_module parse_tree.prog_type_subst.
|
||||
|
||||
:- import_module map.
|
||||
:- import_module require.
|
||||
:- import_module term.
|
||||
|
||||
%---------------------------------------------------------------------------%
|
||||
|
||||
|
||||
Reference in New Issue
Block a user