mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 11:23:46 +00:00
21 lines
483 B
Mathematica
21 lines
483 B
Mathematica
%---------------------------------------------------------------------------%
|
|
% vim: ts=4 sw=4 et ft=mercury
|
|
%---------------------------------------------------------------------------%
|
|
|
|
:- module uniq_modes.
|
|
:- interface.
|
|
:- import_module io.
|
|
|
|
:- pred main(io, io).
|
|
:- mode main(di, uo) is det.
|
|
|
|
:- implementation.
|
|
|
|
main(In, _Out) :-
|
|
io.write("looking for", In, Int1),
|
|
io.nl(Int1, _Int2),
|
|
fail.
|
|
main(In, Out) :-
|
|
io.write("not found", In, Int),
|
|
io.nl(Int, Out).
|