Comment on Functional Programming in PythonComments−typenil6yThe `Maybe` container seems to be a close analog of `Option` in Rusthttps://doc.rust-lang.org/rust-by-example/std/option.html−saagarjha6yIt's fairly common across languages: https://en.wikipedia.org/wiki/Option_type−ralphc6yAnother synonym is Some in some languages.−rbonvall6yWellActually™, Some is a synonym of Just, Maybe is a synonym of Option, and Nothing is a synonym of None.−smabie6yIs this surprising? Of course it is
Comments
The `Maybe` container seems to be a close analog of `Option` in Rust
https://doc.rust-lang.org/rust-by-example/std/option.html
It's fairly common across languages: https://en.wikipedia.org/wiki/Option_type
Another synonym is Some in some languages.
WellActually™, Some is a synonym of Just, Maybe is a synonym of Option, and Nothing is a synonym of None.
Is this surprising? Of course it is