An optional/maybe type with range semantics
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed Feb 28 10:55:38 UTC 2018
On 2/28/18 12:54 PM, Andrei Alexandrescu wrote:
> On 2/25/18 8:03 PM, aliak wrote:
>> Alo,
>>
>> Just finished up a first take on an optional type for D. It's
>> essentially a mix of Nullable and std.range.only, but with a lot more
>> bells and whistles. I would love to hear any feedback on code, or
>> features, or bad design or potential for better designs from anyone
>> who's interested :)
>>
>> Code: https://github.com/aliak00/optional
>> Dub: https://code.dlang.org/packages/optional
>> Docs: https://aliak00.github.io/optional/
>
> Did you take a look at https://dlang.org/library/std/range/only.html? --
> Andrei
Ah, sorry I missed that you mentioned it. -- Andrei
More information about the Digitalmars-d-announce
mailing list