Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hcho
on Nov 24, 2018
|
parent
|
context
|
favorite
| on:
And Monads for All: The State Monad
Chaining is as old as hills and can be used to avoid callback hells. What monads are really is a type respecting chainable object with 3 methods: value, map and then.
pimeys
on Nov 24, 2018
[–]
If I remember correctly map comes from functor, and every monad is also a functor.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: