Hacker News new | ask | show | jobs
by pufuwozu 4981 days 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.