Hacker News new | ask | show | jobs
by jy14898 1157 days ago
PureScript might be worth considering, a few of the downsides listed here aren't in PS, for example: Int/Number primitives aren't overloaded, strict evaluation, the various tools like package management are easy, explicit Prelude means you are free to import foldl from Array for example.

Of course PureScript has it's own downsides not apparent in GHC

1 comments

PureScript also has the huge advantage that it's trivial to build "something". When teaching Haskell, I'm never sure what to build as an example. CLI tools aren't attractive, making a webserver is complex, and so is making a native UI. Of course you can use GHCJS, but at that point, why not just teach PureScript in the first place?
Or use gloss and make "something" arguably more easily than in PureScript?

https://hackage.haskell.org/package/gloss