You can find that one also with the
finder.
overlappingPairsCollect: aBlock "Answer the result of evaluating aBlock with all of the overlapping pairs of my elements." | retval | retval := self species ofSize: self size - 1. 1 to: self size - 1 do: [:i | retval at: i put: (aBlock value: (self at: i) value: (self at: i + 1)) ]. ^retval can be found at sequenceCollection. Roelof Op 15-12-2018 om 21:03 schreef Nicole de Graaf: p.s. and also Array>>#overlappingPairsCollect: |
- [Pharo-users] some help to find the bug Roelof Wobben
- Re: [Pharo-users] some help to find the bug Nicole de Graaf
- Re: [Pharo-users] some help to find the bug Nicole de Graaf
- Re: [Pharo-users] some help to find the bug Roelof Wobben
- Re: [Pharo-users] some help to find the b... Nicole de Graaf
- Re: [Pharo-users] some help to find ... Roelof Wobben
- Re: [Pharo-users] some help to f... Roelof Wobben
- Re: [Pharo-users] some help to find the bug Roelof Wobben
- Re: [Pharo-users] some help to find the bug Nicole de Graaf
- Re: [Pharo-users] some help to find the bug Nicole de Graaf
- Re: [Pharo-users] some help to find the bug Roelof Wobben
- Re: [Pharo-users] some help to find the bug Ben Coman
- Re: [Pharo-users] some help to find the bug Roelof Wobben