[project @ 2002-12-11 11:59:26 by simonpj]
authorsimonpj <unknown>
Wed, 11 Dec 2002 11:59:26 +0000 (11:59 +0000)
committersimonpj <unknown>
Wed, 11 Dec 2002 11:59:26 +0000 (11:59 +0000)
Give -> the correct kind!

ghc/compiler/types/TypeRep.lhs

index 1bb3479..1ea81e7 100644 (file)
@@ -364,7 +364,8 @@ instance Binary Kind where
 We define a few wired-in type constructors here to avoid module knots
 
 \begin{code}
-funTyCon = mkFunTyCon funTyConName (mkArrowKinds [liftedTypeKind, liftedTypeKind] liftedTypeKind)
+funTyCon = mkFunTyCon funTyConName (mkArrowKinds [openTypeKind, openTypeKind] liftedTypeKind)
+       -- Functions can take and return either lifted or unlifted types
 \end{code}
 
 ------------------------------------------