Skip to content

MetaKinds - PolyKinds generalization

MetaKinds is more general then PolyKinds.

Now we could write with PolyKinds

class Foo (a :: k) where ...

It would be nice if we could also write with MetaKinds next:

class Foo (a :: (k :: *)) where ...

As we already have Rank2Types and RankNTypes,

PolyKinds ~ Rank2Types,

MetaKinds ~ RankNTypes

This will be valid:

class Foo (a :: (k :: (u :: *))) where ...
Trac metadata
Trac field Value
Version 7.6.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information