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

Hackage trac at galois.com
Mon Jun 23 06:02:07 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 guest):

 Hoogle uses lowercase for packages and initial-upper-case for modules.
 i.e. +tagsoup will search the tagsoup package, +TagSoup will search the
 tagsoup module. I think cabal packages should be strongly suggested to be
 all lower-case. This has lead to a great source of confusion, with
 everyone picking entirely different naming conventions:

 http://neilmitchell.blogspot.com/2008/05/interactive-tagsoup-parsing.html

 i.e. about 1/6 of packages have an initial capital. I'd mandate cabal
 packages to be case insensitive (they probably are on windows anyway!) and
 start displaying them all lower case. The cabal convention for fields is
 hyphen-separators, so that should be the standard way of distinguishing
 packages.

 -- Neil

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


More information about the cabal-devel mailing list