#913: instance Ord (StableName a)
-----------------------------+----------------------------------------------
Reporter: ekarttun | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 6.8
Component: libraries/base | Version: 6.4.2
Severity: normal | Resolution:
Keywords: | Difficulty: Easy (1 hr)
Testcase: | Architecture: Unknown
Os: Unknown |
-----------------------------+----------------------------------------------
Comment (by simonmar):
From Jan-Willem Maessen:
I feel like I may have already run into this problem with the Eq
instance of stableNames. But I was never able to verify for sure
that this was going on, and it's rather hard to guarantee that the
object referred to by the stable name actually outlives the Int# (if
we stick to Haskell code alone).
If I ever get a reproducible bug whose symptoms I understand, I'll
let you know. :-) But just to make sure you are aware that this
could actually be causing trouble in practice.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/913>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs