[GHC] #8073: TransformListComp weird type error

GHC ghc-devs at haskell.org
Fri Jul 19 07:48:43 CEST 2013


#8073: TransformListComp weird type error
----------------------------------------------+----------------------------
        Reporter:  simonmar                   |            Owner:
            Type:  bug                        |           Status:  new
        Priority:  normal                     |        Milestone:  7.8.1
       Component:  Compiler (Type checker)    |          Version:  7.6.3
      Resolution:                             |         Keywords:
Operating System:  Unknown/Multiple           |     Architecture:
 Type of failure:  GHC rejects valid program  |  Unknown/Multiple
       Test Case:                             |       Difficulty:  Unknown
        Blocking:                             |       Blocked By:
                                              |  Related Tickets:
----------------------------------------------+----------------------------

Comment (by lelf):

 Broken or not, it's documented:

 **then f** —  This statement requires that f have the type {{{ forall a.
 [a] -> [a] }}}

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




More information about the ghc-tickets mailing list