summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/PolyKinds08.hs
blob: aa6434580166b39164cc8bf9f5234563f8bbf2bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{-# LANGUAGE PolyKinds                  #-}

module PolyKinds08 where


data U a = U

instance Functor U where
  fmap f U = U

instance (Show a) => Show (U a) where
  show U = ""