summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T7053a.hs
blob: 8b798d530e196e52c9887e1da1e6db44ad13e6c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE PolyKinds, GADTs #-}

module T7053a where

import Data.Kind (Type)

-- This time with a fully-specified kind signature
data TypeRep (a :: k) :: Type where
   TyApp   :: TypeRep a -> TypeRep b -> TypeRep (a b)