[Haskell-cafe] Re: How does cabal determine version ranges in the dependencies?

dave djf at gmx.ch
Mon Nov 23 13:38:49 EST 2009


On Mon, 2009-11-23 at 09:50 -0200, Maurí­cio CA wrote:
> > I recently started porting cabal-install to Freebsd. When
>  > I looked at its dependencies on hackage, I noticed HTTP
>  > (>=4000.0.2 && <4001). However the latest HTTP version on
>  > hackage is 4000.0.8. That struck me as kinda odd. How can cabal
>  > tell that it won't be compatible with HTTP version 4001?
> 
> If it doesn't break dependencies, it won't be called http 4001,
> it will be called 4000.0.9 :)
> 
> Check:
> 
> http://www.haskell.org/haskellwiki/Package_versioning_policy

I see. Thanks for the link. I wasn't aware of the versioning policy.
Just to clarify though, wouldn't the next higher major version by 4000.1
rather than 4001?



More information about the Haskell-Cafe mailing list