Update all new Tasks
This commit is contained in:
parent
00a190b0a6
commit
91df62d461
5697 changed files with 93386 additions and 804 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