Re:Better Promises in JavaScript
by schindlabua on Monday September 24, 2018 @05:00AM
(#18056059)
What Javascript really needs is monads and do-notation. Can I use Haskell on the web yet?
[ Parent
| on HN ]
Yeah, it’s called Purescript and it’s quite lovely. Give it a look!
As much as I like PureScript (it's like a cleaned up Haskell!) it has some issues, e.g. with performance (as it uses instanceof a lot).
There is also this minor thing that that the compiler is not written in PureScript.