News for hackers. Stuff that matters.
Re:Functional Programming in OCaml by platz on Sunday March 03, 2019 @01:08AM (#19293018)
For all the efforts to put Haskell on the frontend, they're all lacking in some way or another and full of land mines.

Let GHC do what it does best; run it on the server.

Re:Functional Programming in OCaml by thinkpad20 on Tuesday March 05, 2019 @03:11PM (#19313782)
Haskell is still a pretty awesome language tho, so using it on the frontend is pretty sweet. Nothing about the language is problematic here (with the possible exception of laziness which is one reason why I personally prefer purescript). And Miso is actually pretty awesome and easy to use. The main issue is with tooling, especially the slow compiler. My hope is that a wasm backend will be developed soon, hopefully along with subsequent speed improvements. Compiling a ton of non-DOM library code to obscure JavaScript makes no sense. Not to discredit the work of the ghcjs team, which created something pretty awesome and useful, but most of that would make a lot more sense in wasm. Beyond that, it needs bells and whistles like webpack integration and source maps. But really, despite its warts, it is quite usable for frontend and shouldn’t be discounted.