Perl 6 (alpha)
Version of implementation Perl of programming language PerlAlpha design of Perl 6
Links:
Examples:
Fibonacci numbers - Perl (81):
Not the shortest possible implementation, but perhaps the easiest to read and understand.
sub fib { 1,1, {$^x + $^y} ... * }
fib[^16], '...' ==> join(', ') ==> say;
Comments
]]>blog comments powered by Disqus
]]>