Hacker News new | past | comments | ask | show | jobs | submit login

> One of my biggest gripes with Rust (and other languages) is lack of a good monad abstraction (and accompanying syntactic sugar). But I also acknowledge that this is a "I have done too much category theory" problem and and_then is probably a more reasonable name to those not familiar with this particular area of maths.

I'm happy that Rust has iterators and I don't have to think about what a monad is at all.




Iterators are not the same things as monads. Iterators are not like burritos.


I know. I just remember the list monad is one of the few monads I actually used.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: