summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T11648.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T11648.hs')
-rw-r--r--testsuite/tests/polykinds/T11648.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/polykinds/T11648.hs b/testsuite/tests/polykinds/T11648.hs
index 15fcfa4e05..b8b70e8733 100644
--- a/testsuite/tests/polykinds/T11648.hs
+++ b/testsuite/tests/polykinds/T11648.hs
@@ -3,6 +3,8 @@
module T11648 where
-class Monoidy (to :: k0 -> k1 -> *) (m :: k1) where
+import Data.Kind
+
+class Monoidy (to :: k0 -> k1 -> Type) (m :: k1) where
type MComp to m :: k1 -> k1 -> k0
mjoin :: MComp to m m m `to` m