Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
9
Task/String-prepend/Mercury/string-prepend.mercury
Normal file
9
Task/String-prepend/Mercury/string-prepend.mercury
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
:- module string_prepend.
|
||||
:- interface.
|
||||
:- import_module io.
|
||||
:- pred main(io::di, io::uo) is det.
|
||||
:- implementation.
|
||||
:- import_module string.
|
||||
main(!IO) :-
|
||||
S = "World!\n",
|
||||
io.write_string("Hello " ++ S, !IO).
|
||||
Loading…
Add table
Add a link
Reference in a new issue