blob: 102a48321cd3069b519162c6b8da05db1d185bd3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
{-# LANGUAGE DataKinds, PolyKinds, TypeFamilies #-}
module Kinds where
import GHC.Types
type family G (a :: Type) :: Type
type instance G Int = Bool
type family F (a :: Type) :: G a
type instance F Int = True
|