Added Mercury helloworld
This commit is contained in:
8
m/mercury.m
Normal file
8
m/mercury.m
Normal 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).
|
||||||
Reference in New Issue
Block a user