diff options
Diffstat (limited to 'testsuite/tests/polykinds/T14580.hs')
-rw-r--r-- | testsuite/tests/polykinds/T14580.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T14580.hs b/testsuite/tests/polykinds/T14580.hs new file mode 100644 index 0000000000..58983cc117 --- /dev/null +++ b/testsuite/tests/polykinds/T14580.hs @@ -0,0 +1,8 @@ +{-# LANGUAGE PolyKinds, DataKinds, TypeOperators #-} +module T14580 where +import Data.Kind + +type Cat ob = ob -> ob -> Type +data ISO' :: Cat i -> i -> i -> Type +type ISO cat a b = ISO' cat a b -> Type +type (a <--> b) iso cat = ISO (iso :: cat a b) |