[Hackage] #258: case confusion - cabal vs Cabal

Hackage trac at galois.com
Mon Jun 23 05:56:23 EDT 2008


#258: case confusion - cabal vs Cabal
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:         
      Type:  defect         |       Status:  closed 
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  HEAD   
  Severity:  normal         |   Resolution:  wontfix
  Keywords:                 |   Difficulty:  normal 
Ghcversion:  6.8.2          |     Platform:         
----------------------------+-----------------------------------------------
Comment (by duncan):

 Note that `cabal-install` is mostly case insensitive in its user
 interface. For example:

 {{{
 cabal list opengl
 cabal install opengl
 }}}

 Will work just fine. That's because "opengl" is not ambiguous. If there
 were an "Opengl" and an "OpenGl" package then `cabal list opengl` would
 list both, but `cabal install opengl` would complain and you'd have to use
 `cabal install OpenGL` exactly.

 It's ok for distro packages to use all lower case even if the haskell
 package uses mixed case. The promise is that there will be no overlaps
 (with the one exception that packages can rename themselves to a different
 case, but in that case it's still really the same package.)

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


More information about the cabal-devel mailing list