blob: 7c9dace05483be0407333963f165383f024dc9dc (
plain)
1
2
3
4
5
6
7
8
9
|
{-# LANGUAGE GADTs, ExplicitForAll, PolyKinds #-}
module SigTvKinds3 where
import Data.Kind
data SameKind :: k -> k -> Type
data Bad a where
MkBad :: forall k1 k2 (a :: k1) (b :: k2). Bad (SameKind a b)
|