HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by pfraze | Hacker News Reader
Parent
Full thread
pfraze
·
That's basically what the promises spec for Javascript gives you.
View on HN
pufuwozu
·
Exactly. The promises spec defines the Promise monad. The problem is that JavaScript doesn't have monadic syntax, which would make the code a lot more readable.
Reply on news.ycombinator.com