blob: 91fe7d7a43afde76b03f800e992cf879b2f6d12b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE DataKinds #-}
module Bug where
import Data.Kind
type Const a b = a
data SameKind :: k -> k -> Type
type T (k :: Const Type a) = forall (b :: k). SameKind a b
|