aocla/examples/rec-for.aocla
2022-12-22 11:08:16 +01:00

10 lines
164 B
Text

// For loop implemented with recursion
[(x y f)
[$x $y <] [
$x $f eval
$x 1 + $y $f count
] if
] 'count def
0 15 [print "\n" print] count