
#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 tool | Version: 1.2.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.4.2 | Platform: Linux ---------------------------------+------------------------------------------ Comment (by guest): (from BMeph) One of the relevant issues I see, is that doing a {{{cabal list}}} will not only give any package of that name, upper or lower case, but any package with that character sequence in the package name - e.g., {{{cabal list tv}}} lists both TV and the GuiTV packages. This seems to me to be a reasonable behavio(u)r from the standpoint of searching for a package, of which its precise name one is unsure. Knowing that I can do a {{{cabal list HXT}}} after an unsuccessful "install" to find the proper package name, is a beneficial service to me. Also, knowing that {{{cabal list}}} will give me that name, to be used in a {{{cabal install}}} reassures me that should two packages come along with near-identical names (HTTP, anyone?), that I can identify which one I want and get it with the {{{cabal install}}}. The greater particularity (?) of "cabal install"'s parameter should be documented, but I would rather it not be changed. However, when not finding a package , the error message it gives seems misleading/unhelpful to a worse degree than some of GHCi's ones. The error message should be changed, or somehow re-worked for a more informative response. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/167#comment:6 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects