March 22, 2018 Re: Is there a way to pipeline program with random-access ranges in C#? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | 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!
|
Copyright © 1999-2021 by the D Language Foundation