News for hackers. Stuff that matters.
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?
Re:Better Promises in JavaScript by girvo on Monday September 24, 2018 @06:40AM (#18056528)
Yeah, it’s called Purescript and it’s quite lovely. Give it a look!
Re:Better Promises in JavaScript by Boulth on Monday September 24, 2018 @06:48AM (#18056571)
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.