[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Lazy Evaluation question (was: Anybody look at Ruby?)



Aaron Crane wrote:
> 
> ...a friendly lazy-evaluation mechanism will ensure that the
> execution of a delayed block of code is forced no more than once.  It's
> probably therefore worth wrapping the closure-manipulation up in a package.

Take a look at Mark-Jason's Perl Journal article on "infinte lists" 
(aka "streams"):

  http://www.plover.com/~mjd/perl/Stream/

-- 
John Porter


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe