Added Mercury helloworld

This commit is contained in:
ok100
2013-04-15 08:33:06 +02:00
parent 4c4d25f29f
commit c5b716d06d

8
m/mercury.m Normal file
View File

@@ -0,0 +1,8 @@
:- module hello.
:- interface.
:- import_module io.
:- pred main(io::di, io::uo) is det.
:- implementation.
main(!IO) :-
io.write_string("Hello, World!\n", !IO).