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

4

u/[deleted] Jun 22 '17

We simply addressed these by running PureScript on the server as well (through node.js).

Uhhh. This is an option for smaller services certainly, but that's a good way to have slow code in general.

There are lens implementations in PureScript as well.

Interesting. Do they have stuff like generic lenses? Or all they all handwritten.

1

u/tdammers Jun 22 '17

We did not experience any performance problems whatsoever. Our systems were structured such that most of the heavy lifting happened in postgresql, and a bit of numpy code (which basically boils down to C). For everything else though, PureScript performed perfectly fine.

Lenses unfortunately require manual implementation at the moment, although I hear work on Template PS is underway.