std.v2020.algorithm etc[ WAS: Is run.d going to be expand for runtime and the phobos library?]
Steven Schveighoffer
schveiguy at gmail.com
Sat Jun 20 19:03:44 UTC 2020
On 6/20/20 6:43 AM, Paul Backus wrote:
> On Saturday, 20 June 2020 at 04:34:42 UTC, H. S. Teoh wrote:
>> On Fri, Jun 19, 2020 at 09:14:30PM -0400, Andrei Alexandrescu via
>> Digitalmars-d wrote: [...]
>>> One good goal for std.v2020 would be to forego autodecoding throughout.
>> [...]
>>
>> Another could be to fix up the range API -- i.e, reconsider the
>> ugliness that is .save, now that D has copy ctors.
>>
>>
>> T
>
> Also, switch from `void popFront()` to `typeof(this) rest`, so that we
> can have `const` and `immutable` ranges.
How does that work? You'd have to use recursion I guess? ugly. Why do we
need ranges for something like this?
-Steve
More information about the Digitalmars-d
mailing list