|
|
| more useful options | |
| PerlMonks |
Re^3: Challenge: Another Infinite Lazy Listby tlm (Prior) |
| on Mar 18, 2005 at 02:01 UTC ( #440607=note: print w/ replies, xml ) | Need Help?? |
|
I am confused. Where is the "infinite lazy list"? In the implementation I posted, a variable like is, effectively, an infinite lazy list. One can repeatedly extract an arbitrarily long prefix from it, using take, or repeatedly find its n-th element with something like: For example, the following: prints out something like
the lowliest monk
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||