7 lines
130 B
Text
7 lines
130 B
Text
|
node sum(x:int) returns (y:int) let y = x + (0 fby y); tel
|
||
|
node main(x : int) returns (y : int)
|
||
|
let
|
||
|
y = 0 -> sum(pre x);
|
||
|
tel
|
||
|
|