mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-21 12:23:44 +00:00
32 lines
668 B
Mathematica
32 lines
668 B
Mathematica
%---------------------------------------------------------------------------%
|
|
% vim: ts=4 sw=4 et ft=mercury
|
|
%---------------------------------------------------------------------------%
|
|
|
|
:- module undef_mod_qual.
|
|
|
|
:- interface.
|
|
:- import_module io.
|
|
:- pred main(io::di, io::uo) is det.
|
|
|
|
:- implementation.
|
|
:- use_module undef_mod_qual.foo.
|
|
|
|
main(!IO) :-
|
|
foo.bletchx(!IO).
|
|
|
|
%-------------------------------------------------------------------------
|
|
% foo is a submodule
|
|
|
|
:- module foo.
|
|
|
|
:- interface.
|
|
:- pred bletch(io::di, io::uo) is det.
|
|
|
|
:- implementation.
|
|
bletch(!IO) :-
|
|
io.write_string("Hi There", !IO).
|
|
|
|
:- end_module foo.
|
|
|
|
:- end_module undef_mod_qual.
|