Isn't the best course of action to rewrite popular components in Haskell, and show that its better? I'm thinking httpd/nginx/jetty, redis/memcached, postgres, and so on. You could even make a text editor. Or a kernel. Or anything, really.<p>I really like functional programming, but Haskell turns me off and without at least one major example of a beautiful, popular solution written in Haskell (and I don't think pandoc counts), I'm not going to make the effort to push through that barrier.<p>Other languages that occupy a similar space ("superior but tragically underused") have these examples. Erlang has...well a lot but Matrix and RabbitMQ come to mind. Clojure has...well it has datomic, but also Jepsen uses it, and heck I've used it and its fine.<p>The real question is, who's fingers <i>itch</i> to write haskell, and can you please pay them $400k to rewrite nginx in it?
I see a lot of comments on usability of HS in Prod. We @ juspay.in use it to power a bulk of UPI payment transactions. We also use PureScript to power our payment page SDKs.<p>API (CRUD/Auth) code written in HS becomes a beauty once you start building experience with HS. I think the most advantage of FP comes from how it changes the way you model your solution for a problem. With a strict type system, it's easier to anticipate edge cases and with currying building abstractions becomes natural.<p>Having said that, HS is not all sunshine. It took me an inordinate amount of time to setup an IDE like environment. If I recall correctly, HLS would take > 20GB of RAM in few hours with our code base. Eventually I had to remove that and extensively use only the editor features to jump around code.
The headline is a bit too generic. This organization is being founded with the support of Simon Peyton Jones and has corporate backing. It appears that the intent is to focus on pain points in the Haskell toolchain and libraries.
Previous discussion on the Foundation: <a href="https://news.ycombinator.com/item?id=24988454" rel="nofollow">https://news.ycombinator.com/item?id=24988454</a><p>Also relevant if you read through those comments, and the discussion they include on FP Complete's involvement, is Michael Snoyman's more recent statement: <a href="https://www.snoyman.com/blog/2020/12/haskell-foundation" rel="nofollow">https://www.snoyman.com/blog/2020/12/haskell-foundation</a><p>I think Snoyman makes a few good points - namely, it remains to be seen exactly <i>what</i> the Foundation can and will do, and what input the community is going to have in that process. While the criticism that was once made of Facebook/IOHK/FPC applies here (namely, that a large enough force will trump Haskellers who invest in the community), the Foundation has all the power to be much worse. The academic side of the language still carries the most weight.
I rage quit Haskell when I saw all the promises for application correctness fall like a house of cards by realizing I can write to a file after it has been closed when using lazyIO.
Honest question that's going to draw some ire. Why use Haskell when we have rust? I've poked at Haskell and it was not a good experience.<p>I just don't think you can make an honest business case for it on a greenfield project. That's my opinion, is there a chance I'm wrong?
I am confused. I thought Haskell was taking pride in not being used in production (and instead being a testbed for new language features/concepts)
"I'm convinced that if only we could get a word in with management, and explain what a monad is, they'd consider using Haskell"<p>Not an actual quote, but I liked the scene it brought to mind.
Chance to improve some user experience here: is it possible to use `stack` without installing Xcode on macOS (BigSur)?<p>I get an error 'xcodebuild requires xcode' and 'C compiler cannot create executables' when running `stack setup`. I have the Xcode Command Line Tools installed. Anyone had similar experience?