Files
mercury/tests/submodules/use_submodule_helper_1.m
Zoltan Somogyi eb6617c175 Rename X's aux modules as X_helper_N in submodules.
tests/submodules/*.m:
    Rename modules as mentioned above.

    Indent nested submodules to make them stand out.

    Group foreign_procs by what predicate they implement, not by
    their implementation language.

tests/submodules/*.m:
tests/submodules/*.err_exp:
tests/submodules/Mmakefile:
tests/submodules/Mercury.options:
    Update all references to the moved modules.
2023-06-19 22:16:36 +02:00

37 lines
1004 B
Mathematica

%---------------------------------------------------------------------------%
% vim: ts=4 sw=4 et ft=mercury
%---------------------------------------------------------------------------%
%
% Used by use_submodule.m
:- module use_submodule_helper_1.
:- interface.
:- import_module io.
:- include_module use_submodule_helper_2, use_submodule_helper_3.
:- pred hello(io::di, io::uo) is det.
:- module use_submodule_helper_1.nested.
:- interface.
:- pred hello(io::di, io::uo) is det.
:- end_module use_submodule_helper_1.nested.
:- implementation.
hello(!IO) :-
io.write_string("use_submodule_helper_1: hello\n", !IO).
%---------------------------------------------------------------------------%
:- module use_submodule_helper_1.nested.
:- implementation.
hello(!IO) :-
io.write_string("use_submodule_helper_1__nested: hello\n", !IO).
:- end_module use_submodule_helper_1.nested.
%---------------------------------------------------------------------------%