[GHC] #7897: MakeTypeRep fingerprints be proper, robust fingerprints
GHC
ghc-devs at haskell.org
Mon May 15 02:52:50 UTC 2017
#7897: MakeTypeRep fingerprints be proper, robust fingerprints
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: ⊥
Component: Compiler | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
We don't currently offer a way to view the runtime representation of a
type at runtime (other than I suppose `Generic`). That being said, we do
generate Typeable evidence for promoted data constructors, so we already
do much of the work necessary to do so. That being said, it's not clear
that this would be a useful enough feature to justify the cost.
As far as making the hash more precise is concerned, the data family issue
is enough of am argument against rocking the boat without very good
reason.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7897#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list