News for hackers. Stuff that matters.
Re:Stack 0.1 – A new build tool for Haskell by mrcactu5 on Tuesday June 23, 2015 @07:29PM (#9768509)
is this supposed to replace Cabal?
Re:Stack 0.1 – A new build tool for Haskell by mcbuilder on Tuesday June 23, 2015 @07:33PM (#9768526)
It's basically a drop in replacement for `cabal-install`, while leveraging off Cabal the library, which means package description files don't need to be rewritten, i.e. your old cabal package will still work.

It's a huge departure from using cabal-install. Faster project setup time, and not having to worry about managing sandboxes, compiling a new sandbox, or getting stuck in cabal hell.

So, yes, you could look at it as a cabal-install rewrite.

Re:Stack 0.1 – A new build tool for Haskell by dragonwriter on Tuesday June 23, 2015 @07:30PM (#9768516)
It relies on cabal-the-library. It replaces cabal-the-tool.
Re:Stack 0.1 – A new build tool for Haskell by mightybyte on Tuesday June 23, 2015 @08:54PM (#9768888)
For some use cases it might work as a replacement, but it doesn't have a dependency solver so I don't think you can really say it's a serious general-purpose cabal replacement. It's more like build porcelain for cases where you already have your package's whole dependency tree locked down.
Re:Stack 0.1 – A new build tool for Haskell by snoyberg on Tuesday June 23, 2015 @09:52PM (#9769102)
This is false, see the `stack solver` and `stack init --solver` commands. Currently it's using cabal's dependency solver under the surface, but there is work in progress (by multiple parties) to implement a new SAT-based solver, see: https://github.com/commercialhaskell/stack/issues/116
Re:Stack 0.1 – A new build tool for Haskell by mightybyte on Tuesday June 23, 2015 @10:50PM (#9769272)
Ahh, my mistake. Cabal's solver is in the cabal-install package and since stack doesn't depend on it I assumed it wasn't tackling that problem.

Since it's actually shelling out to the cabal executable for its solving needs it still pretty much fits the definition of porcelain.