A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
8
Task/Inverted-syntax/Mercury/inverted-syntax-2.mercury
Normal file
8
Task/Inverted-syntax/Mercury/inverted-syntax-2.mercury
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
:- func example(int) = string.
|
||||
example(N) = S :-
|
||||
from_int(N) = S0,
|
||||
pad_left(S0, '0', 3, S).
|
||||
|
||||
example(N) = S :-
|
||||
pad_left(S0, '0', 3, S),
|
||||
from_int(N) = S0.
|
||||
Loading…
Add table
Add a link
Reference in a new issue