Rename dataConRepNameUnique to dataConTyRepNameUnique
authorMatthew Pickering <matthew.pickering@tweag.io>
Thu, 7 Jun 2018 17:31:38 +0000 (13:31 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 7 Jun 2018 22:06:30 +0000 (18:06 -0400)
commitfa34ced5204b13ba809a3441a89b9cf98de2d54e
tree5d4b130b05b74cc7d6e4ba52b945285b04a151f8
parent838cb53a80cf468df68975c613fa275338d8d355
Rename dataConRepNameUnique to dataConTyRepNameUnique

The `DataCon` rep also applies to the worker. For example, see
`MkId.mkDataConRep`.  `dataConTyRepNameUnique` is for the type
representation, so we rename it to make this distinction clear.

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie, carter

Differential Revision: https://phabricator.haskell.org/D4797
compiler/basicTypes/Unique.hs
compiler/types/TyCon.hs