Change a bunch of modules to import only one module per line, even

Estimated hours taken: 4
Branches: main

compiler/*.m:
	Change a bunch of modules to import only one module per line, even
	from the library.

compiler/mlds_to_il.m:
compiler/mlds_to_managed.m:
	Convert these modules to our current coding style. Use state variables
	where appropriate. Use predmode declarations where possible.
This commit is contained in:
Zoltan Somogyi
2005-03-22 06:40:32 +00:00
parent 2beec88412
commit 3c60c0e485
193 changed files with 3012 additions and 1557 deletions

View File

@@ -104,29 +104,36 @@
:- import_module mdbcomp__prim_data.
% Standard library modules
:- import_module list, map, set.
:- import_module term, varset, bool, string, std_util, require.
:- import_module bool.
:- import_module list.
:- import_module map.
:- import_module require.
:- import_module set.
:- import_module std_util.
:- import_module string.
:- import_module term.
:- import_module varset.
:- type lambda_info --->
lambda_info(
prog_varset, % from the proc_info
map(prog_var, type), % from the proc_info
class_constraints, % from the pred_info
tvarset, % from the proc_info
inst_varset, % from the proc_info
map(tvar, type_info_locn),
% from the proc_info
% (typeinfos)
map(class_constraint, prog_var),
% from the proc_info
% (typeclass_infos)
pred_markers, % from the pred_info
pred_or_func,
string, % pred/func name
aditi_owner,
module_info,
bool % true iff we need to recompute the nonlocals
).
lambda_info(
prog_varset, % from the proc_info
map(prog_var, type), % from the proc_info
class_constraints, % from the pred_info
tvarset, % from the proc_info
inst_varset, % from the proc_info
map(tvar, type_info_locn),
% from the proc_info
% (typeinfos)
map(class_constraint, prog_var),
% from the proc_info
% (typeclass_infos)
pred_markers, % from the pred_info
pred_or_func,
string, % pred/func name
aditi_owner,
module_info,
bool % true iff we need to recompute the nonlocals
).
%-----------------------------------------------------------------------------%