[GHC] #8603: GHC crashes on some code using StateT monad transformer

GHC ghc-devs at haskell.org
Mon Dec 30 20:39:23 UTC 2013


#8603: GHC crashes on some code using StateT monad transformer
------------------------------------------------+--------------------------
        Reporter:  person1729                   |            Owner:
            Type:  bug                          |           Status:  closed
        Priority:  normal                       |        Milestone:
       Component:  Compiler (Type checker)      |          Version:  7.6.3
      Resolution:  fixed                        |         Keywords:
Operating System:  MacOS X                      |     Architecture:  x86_64
 Type of failure:  Compile-time crash           |  (amd64)
       Test Case:  typecheck/should_fail/T8603  |       Difficulty:
        Blocking:                               |  Unknown
                                                |       Blocked By:
                                                |  Related Tickets:
------------------------------------------------+--------------------------

Comment (by monoidal):

 I don't understand completely what's going on here, but in your program
 `lift uniform [1,2,3]` should be `lift (uniform [1,2,3])`. This makes it
 compile under GHC 7.6. (I thought this error had long already been fixed
 in 7.7. Strange.)

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


More information about the ghc-tickets mailing list