mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-20 00:15:27 +00:00
samples/*: Add a bunch of new files. Remove lots of irrelevant stuff from the Mmake file. Add a comment to eliza.m.
12 lines
199 B
Mathematica
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").
|