summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T10516.hs
blob: 388f3421b83e57a0cef044189a89516065d2e246 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE PolyKinds #-}
module T10516 where

type App f a = f a

newtype X f a = X (f a)

f :: f a -> X (App f) a
f = X