[Haskell-cafe] How to determine correct dependency versions for a library?

Ketil Malde ketil at malde.org
Fri Nov 16 17:50:15 CET 2012

Aleksey Khudyakov <alexey.skladnoy at gmail.com> writes:

>> Adding more restrictive constraints does not work, the broken package will
>> be on hackage forever, while adding a new version with relaxed constraints
>> works well.

> That illustrate real problem It's not possible to specify correct
> version constraints when package is uploaded. So one have to choose
> between optimistic and conservative approach. Both have disadvantages.
> In ideal world one need ability to adjust version bounds after package
> upload.

+1. Metadata (i.e. the cabal file) chould be editable.  In addition to
adjusting dependency bounds, Hackage (or third party build servers)
could add Tested-With, and there could be a deprecated field added when
problems are discovered.


More information about the Haskell-Cafe mailing list