Remove unused known-key and name variables
Analyzing GHC’s source code revealed that apparently several known-key variables are only used for constructing name variables that aren’t used in the end. Those known-key variables and their corresponding name variables should be removed as far as possible.
Following is a list of the known-key variables in question, along with the merge requests that handle them:
Known-key variable | Merge request
----------------------------|--------------
`trNameTyConKey` | !15211
`trNameDDataConKey` | !15211
`typeRepTyConKey` | !15211
`kindRepTypeLitDDataConKey` | !15211
`typeLitSortTyConKey` | !15211
`mkTrTypeKey` | !15211
`datatypeClassKey` | !15190
`constructorClassKey` | !15190
`selectorClassKey` | !15190
`fingerprintDataConKey` | !15217
`k1TyConKey` | !15184
`m1TyConKey` | !15184
`rTyConKey` | !15184
`dTyConKey` | !15184
`cTyConKey` | !15184
`sTyConKey` | !15184
`uRecTyConKey` | !15184
`failIOIdKey` | !15218
`concatIdKey` | !15215
`filterIdKey` | !15215
`zipIdKey` | !15215
`appendIdKey` | !15215
`naturalAndNotIdKey` | !15213
`naturalLog2IdKey` | !15213
`naturalLogBaseWordIdKey` | !15213
`naturalLogBaseIdKey` | !15213
`naturalPowModIdKey` | !15213
`naturalSizeInBaseIdKey` | !15213
`naturalToFloatIdKey` | !15213
`naturalToDoubleIdKey` | !15213
`liftMIdKey` | !15219
task