Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: [Perl6] Seq iterator already consumed

by duelafn (Vicar)
on Jun 20, 2019 at 03:36 UTC ( #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
Node Status?
node history
Node Type: note [id://11101603]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2021-03-01 10:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?