Is there a way to pipeline program with random-access ranges in C#?

Dukc ajieskola at gmail.com
Thu Mar 22 11:38:42 UTC 2018


On Thursday, 22 March 2018 at 09:59:28 UTC, Kagamin wrote:
> On Thursday, 22 March 2018 at 09:04:12 UTC, Dukc wrote:
>> So the real difference is that random-accesss ranges are not 
>> input-ranges in C# (or Rust, judging by a quick look I 
>> recently took) but can be used to fetch one. A bit cumbersome 
>> perhaps, but logical. I think I understand it now. Thank you.
>
> IList<T> inherits from IEnumerable<T>, which is an input range.

Oops. Well, all the better!


More information about the Digitalmars-d-learn mailing list