Vision for the D language - stabilizing complexity?

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 8 14:23:24 PDT 2016


On 08.07.2016 04:25, Andrew Godfrey wrote:
>
> Another example is "return" used for monads in eg Haskell - even if it
> only has one meaning in Haskell, it is too mixed up with a different
> meaning in other common languages. D's "static if" - which is a killer
> feature if I ignore the keyword - gives me a similar feeling (though
> it's much less egregious than "return" in monads).

'return' in Haskell is perfectly fine.


More information about the Digitalmars-d mailing list