Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
pfraze
13y ago
0 comments
Save
Share
That's basically what the promises spec for Javascript gives you.
0 comments
1 comments · 1 top-level
top
newest
oldest
pufuwozu
13y ago
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.
j
/
k
navigate · click thread line to collapse