packages feed

ghc-exactprint-0.5.3.1: tests/examples/ghc80/mkGADTVars.hs

{-# LANGUAGE GADTs, TypeInType #-}

module GADTVars where

import Data.Kind
import Data.Proxy

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