http://qs321.pair.com?node_id=11101603


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