mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 19:33:46 +00:00
18 lines
299 B
Mathematica
18 lines
299 B
Mathematica
% vim: ft=mercury ts=4 sts=4 sw=4 et
|
|
|
|
:- module no_warn_format_imports.
|
|
:- interface.
|
|
|
|
:- import_module io.
|
|
|
|
:- pred main(io::di, io::uo) is det.
|
|
|
|
:- implementation.
|
|
|
|
:- import_module list.
|
|
:- import_module string.
|
|
|
|
main(!IO) :-
|
|
S = string.format("%s", [s("foo")]),
|
|
io.write_string(S, !IO).
|