[Satirical] Breaking News: The inverted result type!

monkyyy crazymonkyyy at gmail.com
Sat Jun 27 10:53:42 UTC 2026


On Saturday, 27 June 2026 at 10:48:34 UTC, Kapendev wrote:
> 
> Yeah, this works. I'm not sure (even for my version of this) if 
> the `alias this` should be the error value or a function like 
> `isSome` that checks if `error == noterror`.
> Maybe it needs a different name. `CouldError`??

alias to the data, use opCast bool before even consider designing 
around truthyness

language level truthyness so bad


More information about the Digitalmars-d mailing list