Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^5: [Perl6] Seq iterator already consumed

by duelafn (Parson)
on Jun 20, 2019 at 03:36 UTC ( [id://11101603]=note: print w/replies, xml ) Need Help??


in reply to Re^4: [Perl6] Seq iterator already consumed
in thread [Perl6] Seq iterator already consumed

Again, the documentation for Seq:

A Seq represents anything that can lazily produce a sequence of values. A Seq is born in a state where iterating it will consume the values. However, calling .cache on a Seq will return a List that is still lazy, but stores the generated values for later access.

Good Day,
    Dean

  • Comment on Re^5: [Perl6] Seq iterator already consumed

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11101603]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found