r/purescript • • Jun 09 '17

Why PureScript?

Hi all, I am searching to fulfill my dream of finding a language/ecosystem for elegant, strongly-typed web development. What would you say to convince me to learn & use PureScript? What makes it unique? Why use it over other the alternatives, such as Haskell, ReasonML / OCaml, FSharp, and so on?

I thank you for your opinion in advanced.

14 Upvotes

23 comments sorted by

View all comments

Show parent comment

1

u/mindeavor Jun 09 '17

dependency management turns out rather brittle

How is PureScript's dependency management story by comparison?

4

u/paf31 Jun 09 '17

Bower is the default option right now, but there is also psc-package, which is based on the idea of package sets. Since package sets are immutable, psc-package gives the nice guarantee that if your library builds today, it will always build (with the same version of the compiler). However, the work needs to be done on a continuous basis to build and maintain the package set.

3

u/tdammers Jun 09 '17

PureScript use Bower, sadly enough; still better than Elm though, where I ran into situations where a project that built just fine was positively impossible to build after a new Elm version had been published and I had cleaned out the build directory.