CyclicReadStream. Not in base Pharo. I wish. We have atWrap: but not the best. Phil On Mon, Dec 3, 2018 at 1:17 PM Richard O'Keefe <[hidden email]> wrote:
|
Wouldn't be that hard to implement. We just need a modulo (like I did) when sending #next to wrap around... Or even better: a "cyclic" iterator, something like #withWrapDo: ? ----------------- Benoît St-Jean Yahoo! Messenger: bstjean Twitter: @BenLeChialeux Pinterest: benoitstjean Instagram: Chef_Benito IRC: lamneth Blogue: endormitoire.wordpress.com "A standpoint is an intellectual horizon of radius zero". (A. Einstein)
On Monday, December 3, 2018, 1:28:09 p.m. EST, phil--- via Pharo-users <[hidden email]> wrote:
CyclicReadStream. Not in base Pharo. I wish. We have atWrap: but not the best. Phil On Mon, Dec 3, 2018 at 1:17 PM Richard O'Keefe <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |