On Tue, Aug 01, 2000 at 10:27:08PM +0300, Ariel Scolnicov wrote:
>    multimap operation list-of-lists     # uurgh.

This made me think of something else that came up in a discussion with Larry
after the conference.

The discussion started off with the ability to do

  for ($a,$b) (@list) { ... }

and go through the list in steps of two, or whatever the number of vars were.

But then went onto interators and something like

  @list = interleave(@a,@b,@c);

which would interleave the lists given, and

  foreach ($a,$b,$c) (interleave(@a,@b,@c))

which would iterate around all lists at the same time, but without flattening
the list. Maybe through some kind of hierarchy of iterators or something

Graham.

I really should get all these ideas into an RFC.

Reply via email to