[GHC] #10141: CUSK mysteries

GHC ghc-devs at haskell.org
Mon Mar 19 22:20:56 UTC 2018


#10141: CUSK mysteries
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  goldfire
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.1-rc2
      Resolution:                    |             Keywords:  TypeFamilies,
                                     |  TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:  indexed-
                                     |  types/should_fail/T10141
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * milestone:  8.6.1 =>


Old description:

> Take the following definition:
>
> {{{
> type family G (a :: k) where
>    G Int  = Bool
>    G Bool = Int
>    G a    = a
> }}}
>
> It compiles in 7.8.3, but not in 7.10.1 RC2. This makes me sad. I will
> fix.
>
> (Found by Jan Stolarek.)

New description:

 Take the following definition:

 {{{#!hs
 type family G (a :: k) where
    G Int  = Bool
    G Bool = Int
    G a    = a
 }}}

 It compiles in 7.8.3, but not in 7.10.1 RC2. This makes me sad. I will
 fix.

 (Found by Jan Stolarek.)

--

Comment:

 Removing milestone as no one is actively looking at this.

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


More information about the ghc-tickets mailing list