[GHC] #4108: GHC.Integer.hashInteger is a misnomer and confuses
people
GHC
cvs-ghc at haskell.org
Mon Aug 16 04:32:17 EDT 2010
#4108: GHC.Integer.hashInteger is a misnomer and confuses people
---------------------------+------------------------------------------------
Reporter: duncan | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.14.1
Component: Compiler | Version: 6.12.2
Resolution: | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
---------------------------+------------------------------------------------
Comment(by simonmar):
Fixed:
{{{
Fri Aug 13 16:29:26 BST 2010 Simon Marlow <marlowsd at gmail.com>
* implement integer2Int# and integer2Word# in Haskell, not foreign prim
Shall I push this patch? (1/2) [ynW...], or ? for more options: y
Fri Aug 13 16:31:42 BST 2010 Simon Marlow <marlowsd at gmail.com>
* fix hashInteger to be the same as fromIntegral, and document it
(#4108)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4108#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list