mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 03:45:29 +03:00
10 lines
142 B
Plaintext
10 lines
142 B
Plaintext
def foo(_):
|
|
bend idx = 0:
|
|
when idx < 10:
|
|
sum = idx + fork(idx + 1)
|
|
else:
|
|
sum = 0
|
|
return sum
|
|
|
|
def main:
|
|
return foo(*) |