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/[email protected]
Right, but that's only the Maybe monad. I was trying out monads
in general.
Atila