Perl 6 Perl 6 Lists and Arrays vivified #30

Infinite lists

Laziness enables "infinite lists"

Recall the Range generator from before:

> my $r = 100..200;
> say $r.reify(5).perl;
(100, 101, 102, 103, 104, 105..200)

> my $r = 100..Inf;
continued...
Copyright © 2012
http://www.pmichaud.com/2012/pres/