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

What everyone is talking about isn't "not having to write `and_then` over and over" but rather that there is a common interface to "things that are monads", i.e. `>>=`, `map` and `apply`. `do`-notation is nice syntactic sugar on top of that common interface, but it's not the actual thing itself.



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

Search: