[OT] Is there a real alternative to exceptions ?

Basile B. b2.temp at gmx.com
Fri Jan 17 08:54:07 UTC 2025


On Friday, 17 January 2025 at 08:43:00 UTC, Kagamin wrote:
> On Thursday, 16 January 2025 at 19:37:36 UTC, Basile B. wrote:
>> I dont see how that helps to abort when an error happens "in 
>> between the chain" let's say.
>
> Turn all operations into monadic combinators, example for 
> Nullable: https://dlang.org/phobos/std_typecons.html#apply

Yeah that's also what's described in the talked pointed by Meta.


More information about the Digitalmars-d mailing list