[Hackage] #232: implement extended syntax for package version ranges

Hackage trac at galois.com
Thu Jun 19 13:58:24 EDT 2008


#232: implement extended syntax for package version ranges
----------------------------+-----------------------------------------------
  Reporter:  duncan         |        Owner:  nominolo 
      Type:  enhancement    |       Status:  new      
  Priority:  normal         |    Milestone:  Cabal-1.6
 Component:  Cabal library  |      Version:  1.2.3.0  
  Severity:  normal         |   Resolution:           
  Keywords:                 |   Difficulty:  normal   
Ghcversion:  6.8.2          |     Platform:           
----------------------------+-----------------------------------------------
Comment (by duncan):

 Added the wildcard syntax but not the upward range syntax.

 {{{
 Thu Jun 19 18:50:06 BST 2008  Duncan Coutts <duncan at haskell.org>
   * Add version wildcard syntax
     build-depends: foo ~1.2.*
   means:
     build-depends: foo >=1.2 && <1.3
   It's also valid everywhere else version ranges are used.
 }}}

 I think it might be best to stick with that and not implement the upward
 range syntax. The few people I showed both syntaxes to were able to guess
 the meaning of the wildcard syntax but not the upward range syntax.

 So if we're happy then we should document the syntax in the user guide and
 close the ticket.

 Note that if we add this to the Cabal-1.4 branch (which is possible since
 it does not change any types) then we need to not let it be used in
 packages uploaded to hackage yet.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/232#comment:3>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list