[GHC] #11740: RFC kind synonyms

GHC ghc-devs at haskell.org
Mon Mar 21 22:29:34 UTC 2016


#11740: RFC kind synonyms
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      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 Iceland_jack):

 I write `type Fun = i -> j` in my own code:

 {{{#!hs
 class (Category' (Dom f), Category' (Cod f)) => Functor (f :: Fun i j)
 where

 data Nat (p :: Cat i) (q :: Cat j) (f :: Fun i j) (g :: Fun i j) where
 }}}

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


More information about the ghc-tickets mailing list