logoalt Hacker News

ljwalltoday at 8:09 AM1 replyview on HN

I only use Haskell in hobby projects outside of work but somewhat regularly run into problems with package bounds causing conflicts or forcing some project on to an older GHC than I'd like. It's not cabal hell since its confined to one project and not system wide, but it's definitely a pain point.


Replies

whateveraccttoday at 4:49 PM

so Go has the same issues in my experience. but instead of "solver failed" you get compilation errors. I definitely had to fork a nontrivial amount of Go libraries to maintain my startup's backend.

"solver failed" is in theory a better error. it fails faster and is unambiguous. maybe because it's weird it is scarier? idk

the main issue is managing PVP bounds is a little hard to keep correct. but cabal also lets you "allow-newer" for duct tape.