There are already a few backends for PureScript[1] (including python!) but most backends went stale as the language progressed, maybe they'll get more love after 1.0?
[1]: https://github.com/purescript/documentation/blob/master/ecos...
There are already a few backends for PureScript[1] (including python!) but most backends went stale as the language progressed, maybe they'll get more love after 1.0?
[1]: https://github.com/purescript/documentation/blob/master/ecos...
I'm not suggesting competing with Haskell, but Haskell doesn't really target industry, never has and never will.
PureScript is very industry focused. With a solid Erlang and JavaScript backend, it gives you quite a nice single language for a lot of industry use cases, and with a possible C++ backend, might even work out for more cases.
Haskell pushes the envelope of typed FP even further, and adds laziness to it all. But I think there's room for something like PureScript to bridge the gap. If the Polish is there, and the tooling, and a strong commitment to stability, I can see a bright future.
Why do you say that?
I agree with the "never has" part of the statement but a little skeptical on the "never will" cause we can't really predict that. I feel like the language itself has been picking up popularity in recent years so who knows.
There might be a way to have both sustainably, but I'm not sure why we'd want that.
I really wouldn't mind seeing Haskell continue to innovate and be a trial for innovative features, and have another slower Haskell like language which slowly and carefully brings back those features into itself once they've been proven mature enough.
I feel as if GHC addresses backwards compatibility and stability fairly well with new language features being gated by language pragmas. [1]
I don't write much Haskell in production, and what I do write isn't very performance intensive, but GHC's been pretty impressive vs. other compilers with languages at a similar level of abstraction.
[1] Foldable/Traversable in Prelude was a relatively large breaking change, and it was handled in a way that minimized the impact to existing code while still advancing the language.
Their anti-spam and messaging evaluation system, for the whole system, is written in Haskell.
There are contributors to ghc who add features or fix bugs with "industry use" in mind.
So your statement in its current form is a bit confusing to me.
Can you elaborate?