
22 Oct
2014
22 Oct
'14
7:13 p.m.
On 16/10/2014 18:14, David Feuer wrote:
These functions can be lifted pretty much straight out of Data.Sequence. In particular, foldrWithIndex makes for a particularly nice expression of a fusing findIndices function, as is present in Data.Sequence.
Do these do anything better than just adding indicies first with the standard zip [0..] idiom? Cheers, Ganesh