diff options
| author | Simon Peyton Jones <simonpj@microsoft.com> | 2016-01-15 17:30:30 +0000 |
|---|---|---|
| committer | Simon Peyton Jones <simonpj@microsoft.com> | 2016-01-18 11:55:41 +0000 |
| commit | ec8a188a927a4db2e709541765e5ef545eae284c (patch) | |
| tree | cbde55cf4ee60e4265536aee730c7c41d668824e /compiler/utils/FastString.hs | |
| parent | 6e0c0fd2e09c552bf38e22645347dbb2e7327e8e (diff) | |
| download | haskell-ec8a188a927a4db2e709541765e5ef545eae284c.tar.gz | |
Refactoring on IdInfo and system derived names
Some modest refactoring, triggered in part by Trac #11051
* Kill off PatSynId, ReflectionId in IdDetails
They were barely used, and only for pretty-printing
* Add helper function Id.mkExportedVanillaId, and use it
* Polish up OccName.isDerivedOccName, as a predicate for
definitions generated internally by GHC, which we
might not want to show to the user.
* Kill off unused OccName.mkDerivedTyConOcc
* Shorten the derived OccNames for newtype and data
instance axioms
* A bit of related refactoring around newFamInstAxiomName
Diffstat (limited to 'compiler/utils/FastString.hs')
0 files changed, 0 insertions, 0 deletions
