"I haven't used haskell for a few years, installed haskell platform the other day, it works fine but I can't cabal install" (said 2015-09-15 btw)
> As per #55 we want less biased presentation of bare install vs. platform, not more.
"Ok. (I recommend people to Haskell sometimes, and I see HP hurts them a lot, as they all want to do webdev)
Especially now that Stack is out and picking up momentum, I personally consider HP completely superseded."
"Windows user here. I dumped Platform the day MinGHC happened, and have never looked back."
"On OS X, in my experience it is way easier to set up Haskell without HP than with, fwiw. I don't think it was always this way, but it has been for at least a year."
"Actually, I don't understand why we need Haskell Platform at all? Now, when stack exists, Haskell Platform is useless, I think.
"Haskell with batteries included"? Yes, but what batteries are?
Compiler+Interpreter,
Cabal
35 "core" packages.
With stack I can setup ghc-infrastructure and install any packages I need."
"It seems to me that within the community, we all know stack is the clear winner, and we can recommend it to whomever is showing us an interest in Haskell. Unfortunately,
haskell.org appears to be the landing portal for the language to a newcomer with no existing ties to the community, and thus no one to recommend stack over it. Stack is so obviously a better tool for a new user, it's unbelievable.
/subjective opinion"
"Yes, a regular frustration when helping folks on IRC is that the first three steps have so often been to,
1. Apologize
2. Instruct how to uninstall what they have
3. Start again with GHC and cabal
The effort made at packaging GHC on both Windows and OS X are really solid pieces of work. It looks like Stackage LTS will provide a nice basis for a set of libraries moving forward."
"as a newborn Haskeller, I agree. Platform (OSX) was a huge pain, uninstalled it, learned cabal sandboxes, sometimes nuke them, everything works."
"I find the platform to be a huge burden to beginners on OS X. It just leads to cabal hell. Anything except the minimum to build cabal-install in the global sandbox == super bad."
"The platform was very confusing to me as a beginner, and only now that I know what I'm doing do I see what it was trying to accomplish. I'm depending on the awesome PPA, hopefully GHC can be made easier to get running without such a thing on other platforms."
"Actually there is a disadvantage with the HP, as I pointed out already in an email-response, as the extra HP packages get registered into the global package db, and therefore pollute the sandbox environment with those extra packages."
"The problem is that Cabal prefers the version already installed (i.e. exposed via the global pkg db), when I want the Cabal solver to be as unrestricted as possible in a sandbox in order to get the latest available versions rather than those imposed by the HP."
"So is there really a simple way (as you seem to suggest) to hide all the extra HP-provided package versions inside a sandbox?"
Recommended solution:
> add an entry like this to the constraints field in the cabal.config file in that sandbox:
> constraints: attoparsec source
"Funny because I have been using the Haskell ecosystem since roughly one or two GHC versions longer than the platform has been around and to me it always felt outdated on average over the lifetime of one HP release.
GHC 6.12.1 was released in December 2009, the next platform Beta release was in March 2010 and the next actual release in July 2010. So the platform contained the outdated GHC 6.10 for the better part of a year after the new GHC version was released.
GHC 7.0.1 was released in November 2010, again we had to wait until March for a matching platform release.
GHC 7.2.1 was release in August 2011 but was marked as a technology preview and completely ignored by the platform.
GHC 7.4.1 was released in February 2012, the platform release including it was in June, coinciding almost exactly with the GHC 7.4.2 release which was then ignored by the platform until November, after even GHC 7.6.1 had been released in September 2012 already.
To get GHC 7.6 in a platform release we had to wait until May 2013 when the reasonably current (release in April 2013) GHC 7.6.3 was included in the only platform release of that year.
In April 2014 we got GHC 7.8.1 and in August 2014 we got a platform release for it which included 7.8.3, the current GHC release at the time and until GHC 7.8.4 was released in December.
Not to mention that the HP is not even handled like a regular stable distribution, e.g. it doesn't even update patch levels of packages or compilers."
"Haskell does still have major "ease of installation" problems in my experience."
"using Haskell Platform at all might cause troubles; it's explicitly recommended against [...] because it uses the global package database."
"Haskell Platform feels a bit like Prelude; fine for people who are just using it for small self-teaching projects, but once you're supposed to do something "serious" then people seem to throw up their hands and say "No! never mind that.". I don't know. Maybe I've got the wrong impression.
Now that I know enough cabal to get by and not screw myself over (by creating dependency hell), I feel like Haskell Platform might not be relevant to my needs any more."
"No, you're perfectly right. And while HP may be up to date right now, it'll be out of date next month and it will keep getting more and more obsolete until the next release in a year or so."
"It's still bad and cabal is still bad. I was in #haskell on IRC not too long ago and they couldn't even figure out why a haskell-platform install couldn't upgrade its own cabal with no other packages installed." (Example of Cabal getting blamed for problems with Platform)
"If you're on OS X or Linux, you should not use the Haskell Platform. It's a whole lot of pain for literally no gain..."
"The Haskell Platform was an attempt to define one but many don't like to depend on it."
"I suggest you to use hvr's GHC packages. That way you can simply apt-get install ghc-7.10.1 cabal-install-1.22"
"What is the best way of installing GHC on OS X? There's Haskell Platform, Homebrew GHC/Cabal formulas, andHaskell for OS X. I've been told that Homebrew formulas were broken a few months ago, and that Haskell Platform is not good if you plan on doing anything but the most basic things."