Opened 5 years ago

Closed 5 years ago

#9508 closed task (wontfix)

Rename package key

Reported by: ezyang Owned by: ezyang
Priority: normal Milestone: 7.10.1
Component: Compiler Version: 7.9
Keywords: backpack Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


We were planning on renaming package key to something different. The two proposals on the table are "package instance" (which I don't like) and "library ID".

Change History (7)

comment:1 Changed 5 years ago by rodlogic

What is the problem with package key?

comment:2 Changed 5 years ago by ezyang

Simon Marlow quite dislikes it, because it implies that it is the "primary key" to the package database, but it actually isn't: the primary key of the package database is the installed package ID.

comment:3 Changed 5 years ago by simonpj

Personally I like "package key". It's pretty clear that it's something you have to look up to find out what it means, and doesn't clash with other concepts in GHC/Cabal. (Eg "instance" has many meanings!)

I could cope with "package instance". I don't much like "library ID".


comment:4 Changed 5 years ago by ezyang

Our window for doing this renaming is rapidly closing: once we release 7.10 it probably will not be worth it to rename it. Maybe we should just give up on the renaming? (I'd like that, less work for me!)

comment:5 Changed 5 years ago by ezyang

Milestone: 7.10.1

comment:6 Changed 5 years ago by simonpj

I'd be happy to leave it as-is: see comment:3

comment:7 Changed 5 years ago by ezyang

Resolution: wontfix
Status: newclosed

OK, closing this as WONTFIX.

Note: See TracTickets for help on using tickets.