Applying a function each respective 2 elements of an array
kerdemdemir
kerdemdemir at gmail.com
Sun Mar 10 10:12:34 UTC 2019
On Sunday, 10 March 2019 at 09:43:59 UTC, Dennis wrote:
> On Sunday, 10 March 2019 at 08:59:59 UTC, kerdemdemir wrote:
>> Can I avoid for loops and solve my problem with std algorithms
>> or ranges ?
>
> Try slide: https://dlang.org/phobos/std_range.html#slide
> And then use map.
I think that will work that is exactly what I am looking for
thanks
Erdem
More information about the Digitalmars-d-learn
mailing list