#232: implement extended syntax for package version ranges
----------------------------+-----------------------------------------------
Reporter: duncan | Owner: nominolo
Type: enhancement | Status: closed
Priority: normal | Milestone: Cabal-1.6
Component: Cabal library | Version: 1.2.3.0
Severity: normal | Resolution: fixed
Keywords: | Difficulty: normal
Ghcversion: 6.8.2 | Platform:
----------------------------+-----------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => fixed
Comment:
Changed syntax slightly:
{{{
Tue Jul 29 16:16:12 BST 2008 Duncan Coutts <[EMAIL PROTECTED]>
* Use "pkg == 1.2.*" as the version wildcard syntax
Rather than "pkg ~ 1.2.*". This seemed to be the consensus.
The syntax "pkg == 1.2.*" means "pkg >= 1.2 && < 1.3" and it
is to encourage people to put upper bounds on api versions.
}}}
And now documented too.
{{{
Tue Jul 29 17:20:24 BST 2008 Duncan Coutts <[EMAIL PROTECTED]>
* Move docs for build-depends into the build information section
Since it is shared between libs and exes. Extend the documentation
to describe the syntax of version constraints, including the new
version range syntax "build-depends: foo ==1.2.*".
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/232#comment:5>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel