News for hackers. Stuff that matters.
Re:Thinking in Types by zmoazeni on Friday May 02, 2014 @03:22PM (#7687597)
I'm not sure which issues you're running into, but for what it's worth, I've had a lot better success using the newer cabal sandboxes[1] than just running `cabal install foo` all the time. (If you're from the Ruby world, it acts a lot more like bundler with `--standalone`).

Previously, I had more issues with conflicting version constraints which I think is more of an issue with library authors and not necessarily cabal itself.

[1] - http://coldwa.st/e/blog/2013-08-20-Cabal-sandbox.html

Re:Thinking in Types by jarrett on Friday May 02, 2014 @03:33PM (#7687648)
I'd love to, but Haskell Platform ships with an old version of Cabal that doesn't have sandboxes. The new version of Cabal itself doesn't compile on the Mac. (In keeping with the theme of "nothing compiles.")

Edit: At least, I can't get the new version of Cabal/Cabal Install working on my Mac.

Re:Thinking in Types by tel on Friday May 02, 2014 @05:01PM (#7688126)
There was a relatively serious bug caused by Mavericks' clang being a non-standard CPP, but I think that's fixed in newer versions of GHC. It's certainly possible to get a Cabal compiled on Mac, though.
Re:Thinking in Types by danieldk on Saturday May 03, 2014 @02:21AM (#7689843)
Against the usual recommendations, I install the Haskell platform with Homebrew. After that a 'cabal update ; cabal install cabal-install' gives a newer version without any problems.

And I agree that sandboxes are great!

Re:Thinking in Types by coolsunglasses on Friday May 02, 2014 @06:51PM (#7688637)
I was able to compile Cabal/Cabal Install 1.18 and 1.20 on my Mavericks machine.

Have you sought help from the #haskell IRC channel?