Content deleted Content added
No edit summary |
No edit summary |
||
Line 5:
A sample piece of programming in Mercury looks like
<pre>
:- module hello_world.
:- interface.
:- import_module io.
:- pred main(io__state, io__state).
:- mode main(di, uo) is det.
:- implementation.
main -->
io__write_string("Hello, World!\n").
</pre>
(by [http://www.cs.mu.oz.au/research/mercury/tutorial/hello-world.html Ralph Becket] at the University of Melbourne):
|