News for hackers. Stuff that matters.
Re:Rust: “Explain GATs Like I'm 5 Years Old” by jerf on Monday November 07, 2022 @11:37AM (#33508134)
No, monad is more complicated than that. There is a specific method that it has to have, which does not make sense on all types, and can also have more than one sensible definition for a type. "You want to abstract over it" gets you to a "trait", not a "monad".

There are no comments on this comment yet.