summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/TyCon.hs-boot
blob: 21a54508b3567e8f19e1fa13945cdaa2e47cf8cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module GHC.Core.TyCon where

import GHC.Prelude
import GHC.Types.Unique ( Uniquable )
import {-# SOURCE #-} GHC.Types.Name
import GHC.Utils.Outputable

data TyCon

instance Uniquable TyCon
instance Outputable TyCon

type TyConRepName = Name

isTupleTyCon        :: TyCon -> Bool
isUnboxedTupleTyCon :: TyCon -> Bool
isFunTyCon          :: TyCon -> Bool

tyConRepName_maybe  :: TyCon -> Maybe TyConRepName
mkPrelTyConRepName  :: Name -> TyConRepName
tyConName :: TyCon -> Name