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/catscatscat Jun 24 '17 edited Jun 25 '17

So, I managed to get through ghcjs installation and bootstrapping as well. Even stack build was looking up until I ran into this issue while building the network package:

/tmp/stack74831/network-2.6.3.1/Types.hsc:1080:20: error: expected expression before ‘struct’

http://lpaste.net/5194179026528239616

Any idea what is going wrong? I suspect something having to do with gcc, maybe?

$ gcc --version
gcc (Ubuntu 7.1.0-5ubuntu2~14.04) 7.1.0

$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.24

$ cabal --version
cabal-install version 1.24.0.2
compiled using version 1.24.2.0 of the Cabal library

$ stack --version
Version 1.3.2 x86_64

Edit: Also asked here.