Also, JS promises are not really monads. They lack denotational equality, so they can’t be said to obey the monad laws.
Also, JS promises are not really monads. They lack denotational equality, so they can’t be said to obey the monad laws.