So while rust can’t express the Monad trait (interface) directly, it can still have implementations of that trait. Which is stuff like Option, Result, etc.
sunshowers.io/posts/monads... might be of interest :)
Demystifying monads in Rust th...
If you have a fediverse account, you can quote this note from your own instance. Search https://bsky.brid.gy/convert/ap/at://did:plc:3danwc67lo7obz2fmdg6jxcr/app.bsky.feed.post/3llm2ticypk2o on your instance and quote it. (Note that quoting is not supported in Mastodon.)
