Hello, World! in Mercury
Example for versions
Mercury 10.04
:- module hello.
:- interface.
:- import_module io.
:- pred main(io::di, io::uo) is det.
:- implementation.
main(!IO) :-
io.write_string("Hello, World!\n", !IO).
Comments
]]>blog comments powered by Disqus
]]>