summaryrefslogtreecommitdiff
path: root/testsuite/tests/dependent/should_compile/DkNameRes.hs
blob: f871c9cf890d861aadd62b1e943ecc919f4db1a9 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE TypeFamilies, DataKinds, PolyKinds #-}

module DkNameRes where

import Data.Proxy
import Data.Kind

type family IfK (e :: Proxy (j :: Bool)) :: Type where
   IfK (_ :: Proxy True) = ()