Re: [GHC] #1554: Ord (STRef s a) instance

2007-07-23 Thread GHC
#1554: Ord (STRef s a) instance
--+-
Reporter:  [EMAIL PROTECTED]  |Owner: 
Type:  feature request|   Status:  closed 
Priority:  normal |Milestone: 
   Component:  Compiler   |  Version:  6.6.1  
Severity:  normal |   Resolution:  wontfix
Keywords:  stref ord  |   Difficulty:  Unknown
  Os:  Unknown| Testcase: 
Architecture:  Unknown|  
--+-
Comment (by [EMAIL PROTECTED]):

 Ok, how about another type then that does have this property?

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #1554: Ord (STRef s a) instance

2007-07-23 Thread GHC
#1554: Ord (STRef s a) instance
--+-
Reporter:  [EMAIL PROTECTED]  |Owner: 
Type:  feature request|   Status:  closed 
Priority:  normal |Milestone: 
   Component:  Compiler   |  Version:  6.6.1  
Severity:  normal |   Resolution:  wontfix
Keywords:  stref ord  |   Difficulty:  Unknown
  Os:  Unknown| Testcase: 
Architecture:  Unknown|  
--+-
Changes (by simonmar):

  * resolution:  => wontfix
  * status:  new => closed

Comment:

 I agree with Igloo.  We can't provide `Ord STRef` natively without adding
 overhead to `STRef`, so it's better to do this in Haskell instead when you
 need it.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #1554: Ord (STRef s a) instance

2007-07-22 Thread GHC
#1554: Ord (STRef s a) instance
--+-
Reporter:  [EMAIL PROTECTED]  |Owner: 
Type:  feature request|   Status:  new
Priority:  normal |Milestone: 
   Component:  Compiler   |  Version:  6.6.1  
Severity:  normal |   Resolution: 
Keywords:  stref ord  |   Difficulty:  Unknown
  Os:  Unknown| Testcase: 
Architecture:  Unknown|  
--+-
Comment (by igloo):

 You could make your own datatype containing a Unique and an STRef, and
 define Ord on it appropriately.

 I'm not convinced that it makes sense to have STRef do this itself.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #1554: Ord (STRef s a) instance

2007-07-22 Thread GHC
#1554: Ord (STRef s a) instance
+---
  Reporter:  [EMAIL PROTECTED]  |  Owner:   
  Type:  feature request| Status:  new  
  Priority:  normal |  Milestone:   
 Component:  Compiler   |Version:  6.6.1
  Severity:  normal |   Keywords:  stref ord
Difficulty:  Unknown| Os:  Unknown  
  Testcase: |   Architecture:  Unknown  
+---
I would like an instance Ord (STRef s a). In the implementation this could
 be done with Data.Unique under the hood probably.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs