4 ms·
PureScript really hits the sweet spot for me, and it's become my favorite functional language over the last six months. It really feels like a purpose built str
by tmountain 7y ago
PureScript really hits the sweet spot for me, and it's become my favorite functional language over the last six months. It really feels like a purpose built stripped down Haskell without some modern refinements (string handling, records, compiles to readable JavaScript). You can easily manage dependences to incorporate the absolutely minimum set of packages necessary to run your project, and I think its safety is unparalleled.
That said, the community is pretty small (but also really awesome), and it fits into what is starting to feel like a crowded space (ReasonML, Elm, ClojureScript [kind of], TypeScript, etc), but I'm still hopeful that PureScript gets some traction over the next few years and becomes more widely used in the industry, as it is a fantastic language and deserves to be more widely recognized.
Also, if anyone is looking to try PureScript with minimal effort, I threw together this guide a while back:
https://github.com/tmountain/purescript-reproducible https://github.com/tmountain/purescript-reproducible
- the_duke 7y ago> without some modern refinements Did you mean "with some modern refinements" ? Otherwise, I agree. String handling, vectors, and record namespacing/access are quite annoying legacy burdens of Haskell, improved upon in Purescript. The type system lacks some of the power, but is sufficient for most designs IMO.
- tmountain 7y agoSorry, yes, that was a typo.
- sridca 7y agoDon't forget GHCJS, which is really handy as you get to share (Haskell) code between client and server. Here's an example from my own project: https://github.com/srid/Taut https://github.com/srid/Taut