summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc256.hs
diff options
context:
space:
mode:
authorJose Pedro Magalhaes <jpm@cs.uu.nl>2011-11-11 09:07:50 +0000
committerJose Pedro Magalhaes <jpm@cs.uu.nl>2011-11-11 09:07:50 +0000
commit5e1333af4a5f3883cbb4e5b24372d29afa02c6ca (patch)
treefa4410a622fbaa645a0196753ec2c33d9516f39f /testsuite/tests/typecheck/should_compile/tc256.hs
parentccf86298e3d8daec41c3a780555e17e816b58c1f (diff)
downloadhaskell-5e1333af4a5f3883cbb4e5b24372d29afa02c6ca.tar.gz
New kind-polymorphic core
This big patch implements a kind-polymorphic core for GHC. The current implementation focuses on making sure that all kind-monomorphic programs still work in the new core; it is not yet guaranteed that kind-polymorphic programs (using the new -XPolyKinds flag) will work. For more information, see http://haskell.org/haskellwiki/GHC/Kinds
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/tc256.hs')
-rw-r--r--testsuite/tests/typecheck/should_compile/tc256.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/tc256.hs b/testsuite/tests/typecheck/should_compile/tc256.hs
index dcfbf1a1a7..f06eabf1c3 100644
--- a/testsuite/tests/typecheck/should_compile/tc256.hs
+++ b/testsuite/tests/typecheck/should_compile/tc256.hs
@@ -1,6 +1,8 @@
{-# LANGUAGE TypeFamilies, ConstraintKinds, UndecidableInstances #-}
module Ctx where
+import GHC.Prim( Constraint )
+
type family Indirect :: * -> Constraint
type instance Indirect = Show