[GHC] #2158: deriving (Ix) and listArray give unexpected results

GHC trac at galois.com
Sun Mar 30 15:41:25 EDT 2008


#2158: deriving (Ix) and listArray give unexpected results
----------------------------+-----------------------------------------------
 Reporter:  guest           |          Owner:  igloo  
     Type:  merge           |         Status:  new    
 Priority:  normal          |      Milestone:  6.8.3  
Component:  libraries/base  |        Version:  6.6    
 Severity:  normal          |     Resolution:         
 Keywords:                  |     Difficulty:  Unknown
 Testcase:  arr019          |   Architecture:  Unknown
       Os:  Unknown         |  
----------------------------+-----------------------------------------------
Changes (by igloo):

  * testcase:  => arr019
  * type:  bug => merge

Comment:

 Fixed in the HEAD:
 {{{
 Sun Mar 30 19:28:13 BST 2008  Ian Lynagh <igloo at earth.li>
   * Derive a valid Ix instance for data Foo = Foo Int Int
   The old one didn't satisfy the axioms. See trac #2158 for details.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2158#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list