[GHC] #7802: kindFunResult in monad transformer

GHC cvs-ghc at haskell.org
Sun Mar 31 23:56:49 CEST 2013


#7802: kindFunResult in monad transformer
-------------------------------+--------------------------------------------
    Reporter:  tobsan          |        Owner:                         
        Type:  bug             |       Status:  closed                 
    Priority:  normal          |    Component:  Compiler (Type checker)
     Version:  7.6.1           |   Resolution:  duplicate              
    Keywords:                  |           Os:  Linux                  
Architecture:  x86_64 (amd64)  |      Failure:  Compile-time crash     
   Blockedby:                  |     Blocking:                         
     Related:                  |  
-------------------------------+--------------------------------------------
Changes (by monoidal):

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


Comment:

 Thanks for the report. In fact "getptrval = liftM2 lift" is enough to
 trigger panic in GHC 7.6. This is fixed in the development version (bugs
 #7368, #7441).

 [You might have wanted something like `liftM2 (\a b -> lift (readArray a
 b)) (gets mem) (gets ptr)` but I did not check whether that works.]

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



More information about the ghc-tickets mailing list