A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
13
Task/Inverted-syntax/Mercury/inverted-syntax-4.mercury
Normal file
13
Task/Inverted-syntax/Mercury/inverted-syntax-4.mercury
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
main(!IO) :-
|
||||
io.write_string(X, !IO), io.nl(!IO),
|
||||
some_long_uninteresting_thing(X).
|
||||
|
||||
% this is the same:
|
||||
main(!IO) :-
|
||||
some_long_uninteresting_thing(X),
|
||||
io.write_string(X, !IO), io.nl(!IO).
|
||||
|
||||
% but this is different!
|
||||
main(!IO) :-
|
||||
io.nl(!IO), io.write_string(X, !IO),
|
||||
some_long_uninteresting_thing(X).
|
||||
Loading…
Add table
Add a link
Reference in a new issue