Infinite arrays
Arrays can therefore be infinite
> my @a = 100..Inf; > say @a[10]; 110 > say @a[15..20] 115 116 117 118 119 120continued...
Perl 6 | Perl 6 Lists, Arrays, and Hashes vivified | #30 |
Arrays can therefore be infinite
> my @a = 100..Inf; > say @a[10]; 110 > say @a[15..20] 115 116 117 118 119 120continued...
Copyright © 2011 http://www.pmichaud.com/2011/pres/ |