logo       

Re: [GHC] #913: instance Ord (StableName a): msg#00156

lang.haskell.glasgow.bugs

Subject: Re: [GHC] #913: instance Ord (StableName a)

#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
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise