Merge pull request #105 from ok100/master

Added Mercury helloworld
This commit is contained in:
Mike Donaghy
2014-06-20 01:54:19 -04:00

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).