[GHC] #8778: Typeable TypeNats
GHC
ghc-devs at haskell.org
Tue Jun 17 21:10:33 UTC 2014
#8778: Typeable TypeNats
--------------------------------------------+------------------------------
Reporter: dmcclean | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: ⊥
Component: Compiler (Type checker) | Version: 7.8.1-rc1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets: 4385
--------------------------------------------+------------------------------
Comment (by diatchki):
I looked some more at the code, and realized that this more complex
encoding is not worth the effort: we are always hashing the entire type-
representation, so it does not matter how the types are encoded. Also, it
looks like we are using a reasonable hashing function (MD5), and
collisions for it are very unlikely so we should be OK.
So, I guess we can close this ticket, unless there are any more issues?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8778#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list