Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 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