Re: [perl #130638] [LTA] X::Seq don't say which Seq the exception occurred on

2017-01-25 Thread Elizabeth Mattijsen
I think this is a basic misunderstanding about what an Iterator is and what a Seq. The basic thing is the Iterator. .Seq is nothing but method Seq() { Seq.new(self.iterator) } In other words, a Seq is just a wrapper around an Iterator. In general, you shouldn’t be asking a Seq for its

Re: [perl #130638] [LTA] X::Seq don't say which Seq the exception occurred on

2017-01-25 Thread Moritz Lenz
On 25.01.2017 10:47, Samantha McVey wrote: > On Wednesday, 25 January 2017 01.45.59 PST you wrote: >> On Tue, 24 Jan 2017 23:15:32 -0800, samant...@posteo.net wrote: >> > CODE: >> > my Seq $thing = (1,3,4).Seq; $thing.iterator; $thing.iterator >> > >> > STDERR: >> > This Seq has already been

Re: [perl #130638] [LTA] X::Seq don't say which Seq the exception occurred on

2017-01-25 Thread Samantha McVey
On Wednesday, 25 January 2017 01.45.59 PST you wrote: > On Tue, 24 Jan 2017 23:15:32 -0800, samant...@posteo.net wrote: > > CODE: > > my Seq $thing = (1,3,4).Seq; $thing.iterator; $thing.iterator > > > > STDERR: > > This Seq has already been iterated, and its values consumed > > (you might solve

[perl #130638] [LTA] X::Seq don't say which Seq the exception occurred on

2017-01-24 Thread via RT
# New Ticket Created by Samantha McVey # Please include the string: [perl #130638] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130638 > CODE: my Seq $thing = (1,3,4).Seq; $thing.iterator; $thing.iterator STDERR: This Seq