The IO type has moved to GHC.Types in ghc-prim
authorIan Lynagh <igloo@earth.li>
Sat, 20 Jun 2009 15:51:54 +0000 (15:51 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 20 Jun 2009 15:51:54 +0000 (15:51 +0000)
compiler/prelude/PrelNames.lhs

index 4e18f5d..a16311a 100644 (file)
@@ -739,8 +739,8 @@ appPName          = varQual gHC_PARR (fsLit "+:+")               appPIdKey
 -- IO things
 ioTyConName, ioDataConName, thenIOName, bindIOName, returnIOName,
     failIOName :: Name
-ioTyConName      = tcQual  gHC_IO (fsLit "IO") ioTyConKey
-ioDataConName     = conName gHC_IO (fsLit "IO") ioDataConKey
+ioTyConName      = tcQual  gHC_TYPES (fsLit "IO") ioTyConKey
+ioDataConName     = conName gHC_TYPES (fsLit "IO") ioDataConKey
 thenIOName       = varQual gHC_IO (fsLit "thenIO") thenIOIdKey
 bindIOName       = varQual gHC_IO (fsLit "bindIO") bindIOIdKey
 returnIOName     = varQual gHC_IO (fsLit "returnIO") returnIOIdKey