petdance/scratch — Issue #327: Switch shift and pop for reverse iterators
Author: petdance
Created: 2011-11-01 05:42:03+00:00
State: open
Labels: core, Pri-normal, rfc, Sev-medium

Currently, you're supposed to use "shift" with normal iterators and "pop" with reverse iterators. I think that doesn't make sense. If I have a function that takes an iterator as argument, how does it know whether to use shift or pop? I think that shift and pop should be switched for reverse iterators.

Originally http://trac.parrot.org/parrot/ticket/1747