summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T14580.hs
blob: 58983cc1178d22e2b489b985e20c4d3ca7b03d7e (plain)
1
2
3
4
5
6
7
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)