Files
mercury/samples/hello.m
Fergus Henderson 7aaec23181 Add a bunch of new files.
samples/*:
	Add a bunch of new files.
	Remove lots of irrelevant stuff from the Mmake file.
	Add a comment to eliza.m.
1995-05-30 18:35:34 +00:00

12 lines
199 B
Mathematica

% "Hello World" in Mercury.
:- module hello.
:- interface.
:- import_module io.
:- pred main(io__state::di, io__state::uo) is det.
:- implementation.
main --> io__write_string("Hello, world\n").