[GHC] #11740: RFC kind synonyms
GHC
ghc-devs at haskell.org
Tue Mar 22 18:24:02 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):
Agreed.
I found it interesting that the most worthwhile synonym was `Cat` and
should note that `TypeClass` could be more general:
{{{#!hs
type TTypeClass k = k -> Constraint
And :: TTypeClass k -> TTypeClass k -> TTypeClass k
Typeable :: TTypeClass k
}}}
And what about multi-parameter type classes like `(~) :: k -> k ->
Constraint`? Let's see what happens.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11740#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list