Austin Hastings <[EMAIL PROTECTED]> writes:

> --- Piers Cawley <[EMAIL PROTECTED]> wrote:
>> Austin Hastings <[EMAIL PROTECTED]> writes:
>> 
>> > --- Piers Cawley <[EMAIL PROTECTED]> wrote:
>> >> I wonder what would happen if you had a junction of
>> >> continuations. Producing something practical is left as an
>> >> exercise for the interested reader.
>> >
>> > Isn't this effectively "paste(1)" ?
>> >
>> > That is, 
>> >
>> > my $outfh = all(@input_handles);
>> > while (<$outfh>) print;
>> >
>> > for suitable tunings of chomp/append-newlines modes?
>> 
>> Okay, I'm confused, how is that a junction of continuations?
>
> A diamonded FH is just an iterator over blobs from a file.  And an
> iterator is just a continuation.

I thought an iterator was just a coroutine. Continuations are a little
more 'basic' than that.

-- 
Piers

   "It is a truth universally acknowledged that a language in
    possession of a rich syntax must be in need of a rewrite."
         -- Jane Austen?

Reply via email to