[Haskell-cafe] Re: [Haskell] Re: Trying to install binary-0.4

Lutz Donnerhacke lutz at iks-jena.de
Tue Oct 16 08:44:16 EDT 2007

* Simon Marlow wrote:
> further sub-versions may be added after the x.y, their meaning is
> package-defined.  Ordering on versions is lexicographic, given multiple 
> versions that satisfy a dependency Cabal will pick the latest.

x.y.z should be ordered numerically, if possible.

> As suggested by various people in this thread: we change the convention so 
> that dependencies must specify a single x.y API version, or a range of 
> versions with an upper bound.  Cabal or Hackage can refuse to accept 
> packages that don't follow this convention (perhaps Hackage is a better 
> place to enforce it, and Cabal should just warn, I'm not sure).

Ack. Hackage is a good place to reject.

More information about the Haskell-Cafe mailing list