RosettaCodeData/Task/Y-combinator/Perl-6/y-combinator-2.pl6
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07:00

1 line
72 B
Raku

say .(10) given sub (Int $x) { $x < 2 ?? 1 !! $x * &?ROUTINE($x - 1); }