Parallel iteration

From Erights

Jump to: navigation, search

There is no nice way to iterate over two collections in parallel, or correspondingly to write a generic "zip", since the existing protocol iterate/1 is internal iteration.

Proposals

  • Give all collections an operation to create EIO InStreams from them. This is basically external iteration. --Kevin Reid 14:58, 24 February 2009 (CST)
  • Give all collections an operation to create functional streams (lazy lists) from them. --Kevin Reid 14:58, 24 February 2009 (CST)

Discussion

User:Kevin Reid and User:Markm have discussed this but not in text. XXX Kevin should write up the EIO/Dividoid plan and how the functional-stream option ties into this.

Personal tools
more tools