[GHC] #10592: Allow cycles in class declarations

GHC ghc-devs at haskell.org
Fri Dec 18 21:17:26 UTC 2015


#10592: Allow cycles in class declarations
-------------------------------------+-------------------------------------
        Reporter:  MikeIzbicki       |                Owner:
            Type:  feature request   |               Status:  infoneeded
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  7.10.1
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by MikeIzbicki):

 Okay, I understand the limitations a bit better now.  Adding the `Logic a
 ~ Logic (Logic a)` constraint makes it work for me.

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


More information about the ghc-tickets mailing list