News for hackers. Stuff that matters.
Re:What I Wish I Knew When Learning Haskell by mark_l_watson on Saturday September 12, 2015 @10:31PM (#10210147)
The author covers cabal sandbox, which I used until recently when I converted my few Haskell projects to use stack. I was really happy with stack until a few days ago when I tried to add some old Haskell code to a new yesod web app. Dependency hell that took a while to sort out.

This article discussed getting everything working and then doing a cabal freeze which is something I hadn't seen before. I would like to be able to simply update a project to new library versions but maybe I should drop that desire. Any advice?

Re:What I Wish I Knew When Learning Haskell by jumpwah on Saturday September 12, 2015 @11:59PM (#10210308)
I'm not sure cabal can really be considered a package manager as the article here states [1]. Stack helps, but I think just using a dedicated package manager to manage haskell things is probably the way to go.

Nix has a lot of haskell packages in it already, and guix has a hackage 'import' tool which helps you with writing a new package definition for a project that hasn't already been packaged.

You may think that's overkill, and fair enough. But I've been through cabal hell before, and I'd honestly rather not anymore, ever.

[1]: https://ivanmiljenovic.wordpress.com/2010/03/15/repeat-after...