Monads in D

Atila Neves via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 11 10:43:32 PDT 2016


On Saturday, 11 June 2016 at 14:57:11 UTC, ArturG wrote:
> On Saturday, 11 June 2016 at 14:26:20 UTC, Atila Neves wrote:
>
>>
>> Why? Because I could, I don't plan on using this for anything 
>> serious. I think "with" is my favourite D feature right now. I 
>> also wrote the Writer and State monads (not that D needs them):
>>
>> https://github.com/atilaneves/felix
>>
>>
>> Atila
>
> im not an expert but is it something similar to this idea[1] as 
> it seems to be used in a similar way.
>
> [1] 
> http://forum.dlang.org/thread/ltalqpmpscdoziserqqx@forum.dlang.org

Right, but that's only the Maybe monad. I was trying out monads 
in general.

Atila


More information about the Digitalmars-d mailing list