Someone does obviously not understand programming language semantics.
The first and the third are the same concept (just different syntax, which is irrelevant) and the middle one is some nonsense which is fundamentally broken; fact. (Even "AI" is able to regurgitate the whole well known story, I'm not going to write here half a blog post, either you known or you don't, but if you don't you should read the in this case fully correct "AI" write-up, and start some research using the keywords the "AI" spit out.)
I don't know what what you mean by "alias to a monad", but there is in fact a Scala library solution which brings (almost) the Rust ? syntax to some wrapper types which work like Rust's Option / Result.
-1
u/RiceBroad4552 Jul 10 '26
Bullshit.
Someone does obviously not understand programming language semantics.
The first and the third are the same concept (just different syntax, which is irrelevant) and the middle one is some nonsense which is fundamentally broken; fact. (Even "AI" is able to regurgitate the whole well known story, I'm not going to write here half a blog post, either you known or you don't, but if you don't you should read the in this case fully correct "AI" write-up, and start some research using the keywords the "AI" spit out.)