summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/mkGADTVars.hs
blob: 843fecc00774f348066bbb313f8e21e49ed3789e (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE GADTs, TypeInType #-}

module GADTVars where

import Data.Kind
import Data.Proxy

data T (k1 :: Type) (k2 :: Type) (a :: k2) (b :: k2) where
  MkT :: T x1 * (Proxy (y :: x1), z) z