Mind-Fuck/dyn-recurse.raku
2023-09-01 15:39:24 -04:00

20 lines
185 B
Raku
Executable file

#!/usr/bin/env raku
use v6.d;
sub plus-one {
$*number++;
say $*number;
return if 100 < $*number;
plus-one;
}
sub MAIN {
my Int $*number = 42;
plus-one;
}