From c5b716d06dc3f8a4c4e9f3655166ece8454b3dbf Mon Sep 17 00:00:00 2001 From: ok100 Date: Mon, 15 Apr 2013 08:33:06 +0200 Subject: [PATCH] Added Mercury helloworld --- m/mercury.m | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 m/mercury.m diff --git a/m/mercury.m b/m/mercury.m new file mode 100644 index 00000000..3b86a4f7 --- /dev/null +++ b/m/mercury.m @@ -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).