Library versioning policy

Simon Marlow simonmarhaskell at gmail.com
Fri Nov 24 06:32:14 EST 2006


Bulat Ziganshin wrote:

> say, if i wrote my program using Streams 1.2.1, i can specify
> 
> Build-Depends: Streams 1.2.*

You can already say

   build-depends: Streams >= 1.2 && < 1.3

The 1.2.* syntax would be just sugar (sugar is nice, though).

I think adopting a consistent versioning policy is a good thing, but we (the 
Cabal designers) didn't want to impose a versioning policy because we felt that 
doing so would be too restrictive - people often want to be free to choose their 
own.

So I think having a *recommended* policy, and clearly documenting it, is the way 
to go.

Cheers,
	Simon



More information about the Libraries mailing list