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

Roman Cheplyaka roma at ro-che.info
Fri Nov 9 17:52:46 CET 2012

* Janek S. <fremenzone at poczta.onet.pl> [2012-11-09 17:15:26+0100]
> but I am aware that if the library were to be released on Hackage I
> would have to supply version numbers in the dependencies. The question
> is how to determine proper version numbers?

With the current state of affairs, your best bet is not to specify any
version bounds, or specify only lower ones.

Upper version bounds much more often break things that fix things.

In future, when we develop better tools, this will hopefully change.

When uploading to hackage, you'll be only required to give bounds for
base, but they also may be very lax (like base ==4.*).


More information about the Haskell-Cafe mailing list