all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
:- module string_concat.
|
||||
:- interface.
|
||||
|
||||
:- import_module io.
|
||||
:- pred main(io::di, io::uo) is det.
|
||||
|
||||
:- implementation.
|
||||
:- import_module string.
|
||||
|
||||
main(!IO) :-
|
||||
S = "hello",
|
||||
S1 = S ++ " world",
|
||||
io.write_string(S, !IO), io.nl(!IO),
|
||||
io.write_string(S1, !IO), io.nl(!IO).
|
||||
Loading…
Add table
Add a link
Reference in a new issue