First Draft: Callback For Matching Type

ryuukk_ ryuukk.dev at gmail.com
Wed Jun 26 07:51:55 UTC 2024


On Monday, 24 June 2024 at 18:20:36 UTC, Quirin Schroll wrote:

> From what I see, you want to make `match` an intrinsic, and 
> TBH, the value of
> ```d
> x.match {
>     // handlers
> }
> ```
> over
> ```d
> x.match!(
>     // handlers
> )
> ```
> is negligible.


i disagree, it's that kind of things that makes Rust ugly, hard 
to read and as a result harder to learn, let's not repeat the 
same mistakes



More information about the dip.development mailing list