[parrot/parrot] 8c4a2b: Iterator PMC and family now implement the 'iterato...

noreply at github.com noreply at github.com
Fri Dec 30 13:31:20 UTC 2011

  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot

  Commit: 8c4a2b19e3f2efa4fd2bd8a0e4175b1b6c083e24
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2011-12-30 (Fri, 30 Dec 2011)

  Changed paths:
    M src/pmc/arrayiterator.pmc
  M src/pmc/hashiterator.pmc
  M src/pmc/iterator.pmc
  M src/pmc/orderedhashiterator.pmc
  M src/pmc/stringiterator.pmc

  Log Message:
  Iterator PMC and family now implement the 'iterator' role.

If we test for this role, HLLs can easily implement and transparently use their own iterator types, and can easily detect when an object is an iterator (vs some other kind of data)

More information about the parrot-commits mailing list