blob: b135e41d247d8b1a6cf8009cae77f62fc58bfbd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{-# LANGUAGE FlexibleContexts #-}
module Type where
import GhcPrelude
import {-# SOURCE #-} TyCon
import {-# SOURCE #-} TyCoRep( Type, Coercion )
import Util
isPredTy :: HasDebugCallStack => Type -> Bool
isCoercionTy :: Type -> Bool
mkAppTy :: Type -> Type -> Type
mkCastTy :: Type -> Coercion -> Type
piResultTy :: HasDebugCallStack => Type -> Type -> Type
eqType :: Type -> Type -> Bool
coreView :: Type -> Maybe Type
tcView :: Type -> Maybe Type
isRuntimeRepTy :: Type -> Bool
isLiftedTypeKind :: Type -> Bool
splitTyConApp_maybe :: HasDebugCallStack => Type -> Maybe (TyCon, [Type])
partitionInvisibleTypes :: TyCon -> [Type] -> ([Type], [Type])
|