3 ms·
What I was trying to say is that monadic combinators are super-useful in Haskell as they are in Javascript. They're hard to implement in Javascript though, bec
by Peaker 13y ago
What I was trying to say is that monadic combinators are super-useful in Haskell as they are in Javascript.
They're hard to implement in Javascript though, because of return type polymorphism or explicit dictionary passing being required. So people don't implement them -- not because Monads aren't useful there, but because Monads are hard to implement there.