Anything in D to avoid check for null everywhere?
ddcovery
antoniocabreraperez at gmail.com
Thu Jan 14 22:19:07 UTC 2021
On Thursday, 14 January 2021 at 21:49:41 UTC, Christian Köstlin
wrote:
> ...
> Did you have a look at https://code.dlang.org/packages/optional?
> Especially
> https://aliak00.github.io/optional/optional/oc/oc.html might go
> in the right direction.
>
>
> Kind regards,
> Christian
Thats nice!!!
I was commenting the need of a MayBe (some/none) monad compatible
with Ranges (as an alternative to Nullable!T ) in
https://forum.dlang.org/post/gxapatzfkoigcdhrdztv@forum.dlang.org
Thanks a lot Christian.
More information about the Digitalmars-d-learn
mailing list