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