diff options
Diffstat (limited to 'testsuite/tests/polykinds/PolyKinds01.hs')
-rw-r--r-- | testsuite/tests/polykinds/PolyKinds01.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/polykinds/PolyKinds01.hs b/testsuite/tests/polykinds/PolyKinds01.hs index 918e5a9a44..ab79bd6799 100644 --- a/testsuite/tests/polykinds/PolyKinds01.hs +++ b/testsuite/tests/polykinds/PolyKinds01.hs @@ -4,9 +4,11 @@ module PolyKinds01 where +import Data.Kind (Type) + data Nat = Ze | Su Nat -data Vec :: * -> Nat -> * where +data Vec :: Type -> Nat -> Type where VNil :: Vec a Ze VCons :: a -> Vec a n -> Vec a (Su n) |