wiredInThings, -- Names of wired in things
wiredInThingEnv,
ghcPrimExports,
- cCallableClassDecl, cReturnableClassDecl, assertDecl,
+ cCallableClassDecl, cReturnableClassDecl,
-- Random other things
maybeCharLikeCon, maybeIntLikeCon,
cCallableOcc = nameOccName cCallableClassName
cReturnableOcc = nameOccName cReturnableClassName
-assertDecl
- = IfaceSig {
- tcdName = getRdrName assertName,
- tcdType = HsForAllTy (Just [liftedAlpha]) [] (HsTyVar alpha),
- tcdIdInfo = [],
- tcdLoc = noSrcLoc
- }
-
cCallableClassDecl
= mkClassDecl
([], getRdrName cCallableClassName, [openAlpha])
import TcRnMonad
import PrelNames ( gHC_PRIM_Name, gHC_PRIM )
-import PrelInfo ( ghcPrimExports, cCallableClassDecl, cReturnableClassDecl, assertDecl )
+import PrelInfo ( ghcPrimExports, cCallableClassDecl, cReturnableClassDecl )
import Name ( Name {-instance NamedThing-},
nameModule, isInternalName )
import NameEnv
pi_usages = [],
pi_exports = (1, [(gHC_PRIM_Name, ghcPrimExports)]),
pi_decls = [(1,cCallableClassDecl),
- (1,cReturnableClassDecl),
- (1,assertDecl)],
+ (1,cReturnableClassDecl)],
pi_fixity = [FixitySig (nameRdrName (idName seqId))
(Fixity 0 InfixR) noSrcLoc],
-- seq is infixr 0