February 18, 2015 Re: Type-Strict Indexes: IndexedBy | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | On Tuesday, 17 February 2015 at 19:46:09 UTC, Nordlöw wrote:
> Superb! I'd like to see this getting into std.typecons.
>
> Having this in the language will attract (more) Ada programmers to D.
>
> Should I do PR for std.typecons.[iI]ndexedBy?
I'm not familiar with Ada, and I don't immediately see what indexedBy is good for. So maybe gather some examples where it's beneficial, before going for Phobos.
|
February 18, 2015 Re: Type-Strict Indexes: IndexedBy | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | > Having this in the language will attract (more) Ada programmers to D.
“Having this or that will attract (XY)-programmers / magically make D successful in niche Z” is an argument too weak for phobos inclusion, IMO.
|
February 18, 2015 Re: Type-Strict Indexes: IndexedBy | ||||
---|---|---|---|---|
| ||||
Posted in reply to anonymous | On Wednesday, 18 February 2015 at 12:44:22 UTC, anonymous wrote:
>> Should I do PR for std.typecons.[iI]ndexedBy?
>
> I'm not familiar with Ada, and I don't immediately see what indexedBy is good for. So maybe gather some examples where it's beneficial, before going for Phobos.
Ok, I have a use case in one my applications I'll bring up.
Thanks for now.
|
Copyright © 1999-2021 by the D Language Foundation