diff options
Diffstat (limited to 'testsuite/tests/ghci/scripts/GhciKinds.hs')
-rw-r--r-- | testsuite/tests/ghci/scripts/GhciKinds.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/scripts/GhciKinds.hs b/testsuite/tests/ghci/scripts/GhciKinds.hs index 8e1af372ee..2b60c8c106 100644 --- a/testsuite/tests/ghci/scripts/GhciKinds.hs +++ b/testsuite/tests/ghci/scripts/GhciKinds.hs @@ -1,7 +1,9 @@ {-# LANGUAGE TypeFamilies #-} module GhciKinds where -type family F a :: * +import Data.Kind (Type) + +type family F a :: Type type instance F [a] = a -> F a type instance F Int = Bool |