[Hackage] #167: cabal-install should treat package names case insenitively in the UI wherever possible

Hackage trac at galois.com
Fri Nov 2 18:35:04 EDT 2007


#167: cabal-install should treat package names case insenitively in the UI
wherever possible
----------------------------+-----------------------------------------------
  Reporter:  duncan         |        Owner:        
      Type:  enhancement    |       Status:  new   
  Priority:  normal         |    Milestone:        
 Component:  cabal-install  |      Version:  1.2.0 
  Severity:  normal         |   Resolution:        
  Keywords:                 |   Difficulty:  normal
Ghcversion:  6.4.2          |     Platform:  Linux 
----------------------------+-----------------------------------------------
Comment (by duncan):

 As I recall we agreed that hackage should enforce that there be no two
 packages with names that differ only by case. This was to allow distros to
 use lower case package names. I do not recall that we agreed to change the
 Eq instance for packages to make comparison case insensitive (this would
 have similar implications to redefining version equality in that == does
 not give the same result as comparing external representations).

 Currently ghc & ghc-pkg treat package names case sensitively.

 I don't mind changing it to be case insensitive everywhere, but if we do
 it we should do it everywhere.

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


More information about the cabal-devel mailing list