haskman@programming.dev to Rust@programming.dev · 10 months agoExtending Rust's Effect Systemblog.yoshuawuyts.comexternal-linkmessage-square8fedilinkarrow-up132arrow-down10cross-posted to: programming_languages@programming.devhackernews@lemmy.smeargle.fansrust@lemmit.online
arrow-up132arrow-down1external-linkExtending Rust's Effect Systemblog.yoshuawuyts.comhaskman@programming.dev to Rust@programming.dev · 10 months agomessage-square8fedilinkcross-posted to: programming_languages@programming.devhackernews@lemmy.smeargle.fansrust@lemmit.online
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up7·10 months agoThis is an interesting discussion about precisely that. My takeaway is that monads are great in a purely functional syntax, but kind of awkward in Rust, so Rust should adapt the ideas behind monads to get a syntax that fits better with Rust.
This is an interesting discussion about precisely that.
My takeaway is that monads are great in a purely functional syntax, but kind of awkward in Rust, so Rust should adapt the ideas behind monads to get a syntax that fits better with Rust.