develooper Front page | perl.perl5.porters | Postings from June 2022

Re: Pre-RFC: lazy arrays and hashes (maybe scalars?)

Thread Previous
June 30, 2022 10:21
Re: Pre-RFC: lazy arrays and hashes (maybe scalars?)
Message ID:
On Thu, Jun 30, 2022 at 12:05 PM Darren Duncan <>

> Are you looking to have Perl match the semantics / feature of Raku's lazy
> lists,
> or go a different way?

A different way. Raku has some great stuff, but its semantics and syntax
are sufficiently different that I don't think it applies.

> Personally I suggest that given how invasive any version
> of this would be, that it would be best instead just be implemented as a
> module as an ordinary object class, rather than being built-in. (doesn't appear popular)

> Or is users not
> having to care whether a list is lazy or eager, by using identical syntax
> to use
> both, important to you? -- Darren Duncan


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About