[GHC] #13603: Can't resolve levity polymorphic superclass

GHC ghc-devs at haskell.org
Fri Apr 28 14:16:20 UTC 2017


#13603: Can't resolve levity polymorphic superclass
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:  fixed             |             Keywords:
                                     |  LevityPolymorphism, TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  typecheck/should_compile/T13603
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3489
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Iceland_jack):

 Out of curiosity, can any of those `TYPE rep` annotations be omitted in
 ''HEAD'' while retaining levity polymorphism?

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


More information about the ghc-tickets mailing list