Created
May 23, 2014 15:45
-
-
Save arfon/299fb612d6c9e4dde99f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% "Hello World" in Mercury. | |
% This source file is hereby placed in the public domain. -fjh (the author). | |
:- module hello. | |
:- interface. | |
:- import_module io. | |
:- pred main(io::di, io::uo) is det. | |
:- implementation. | |
main(!IO) :- | |
io.write_string("Hello, world\n", !IO). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment