Move some imports to the implementation section.

This commit is contained in:
Zoltan Somogyi
2023-10-10 13:21:40 +11:00
parent 8f0d3d7239
commit fdf20bae70
6 changed files with 9 additions and 8 deletions

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.
%---------------------------------------------------------------------------%

View File

@@ -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) :-

View File

@@ -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.
%---------------------------------------------------------------------------%

View File

@@ -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.
%---------------------------------------------------------------------------%