Perl 6 Perl 6 Lists, Arrays, and Hashes vivified #29

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 © 2011
http://www.pmichaud.com/2011/pres/