sumtypes for D

Walter Bright newshound2 at digitalmars.com
Tue Nov 29 01:27:32 UTC 2022


On 11/28/2022 4:02 PM, deadalnix wrote:
> I'd like to point out that we still don't have a reasonable collection library 
> because it is not possible to have a user type that has properties similar to a 
> slice (as in T[]).
> 
> Solving this would also ensure ensure that we can have sumtype as a library that 
> are just as good as the builtin ones. The reason we cannot now is because we 
> cannot build library types that mimic the builtin ones.
> 
> I would have liked you as a leader here to get people to focus here instead of 
> adding to the pile of complexity.
> 
> There is a runaway pattern in this community to chase the next great thing, not 
> because it is is bringing that much value, but because that's a good distraction 
> from the fundamentals problems that exists.

It would be nice if you enumerated those fundamental problems. I don't know what 
they are.


More information about the Digitalmars-d mailing list