Monads in D

Atila Neves via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 13 02:27:11 PDT 2016


On Saturday, 11 June 2016 at 18:27:19 UTC, deadalnix wrote:
> On Saturday, 11 June 2016 at 14:26:20 UTC, Atila Neves wrote:
>> [...]
>
> Honestly, the whole bind/return is just a giant NIH. >>> and
> >>[...]
> jack shit about monad even after 10s of tutorial when they 
> aren't even hard in any way: because haskell and alike have 
> made all that is in their power to obfuscate what is a monad.
>
> I could go on, but this guy already did it way better that I 
> can:
> https://www.infoq.com/presentations/functional-pros-cons
>
> The part about monad starts 25mins in.

That was awesome.

I didn't mean to imply I think monads are great and that `>>=` 
and `return` are great names. I just wanted to see how far I 
could take in D. For the lulz.

Atila



More information about the Digitalmars-d mailing list