[OT] C# 6.0 ?. null propagation operator
Atila Neves via Digitalmars-d
digitalmars-d at puremagic.com
Tue Apr 21 06:16:35 PDT 2015
On Tuesday, 21 April 2015 at 02:00:49 UTC, JT wrote:
> On Monday, 20 April 2015 at 21:22:53 UTC, deadalnix wrote:
>> ...
>> maybe(userManager).CurrentUser.GetRole().Name ?
>> ...
>
> Where can I find this "maybe" monad implementation?
In the Haskell prelude? :P
There was a blog post about monads in D I can no longer find.
Other than that the only other one I know of is the gist I posted.
Atila
More information about the Digitalmars-d
mailing list