ghc-lib-parser-9.8.1.20231009: The GHC API, decoupled from GHC versions
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Utils.Binary.Typeable

Description

Orphan Binary instances for Data.Typeable stuff

Documentation

getSomeTypeRep :: BinHandle -> IO SomeTypeRep #

Orphan instances

Binary SomeTypeRep # 
Instance details

Methods

put_ :: BinHandle -> SomeTypeRep -> IO () #

put :: BinHandle -> SomeTypeRep -> IO (Bin SomeTypeRep) #

get :: BinHandle -> IO SomeTypeRep #

Binary Serialized # 
Instance details

Binary KindRep # 
Instance details

Methods

put_ :: BinHandle -> KindRep -> IO () #

put :: BinHandle -> KindRep -> IO (Bin KindRep) #

get :: BinHandle -> IO KindRep #

Binary TyCon # 
Instance details

Methods

put_ :: BinHandle -> TyCon -> IO () #

put :: BinHandle -> TyCon -> IO (Bin TyCon) #

get :: BinHandle -> IO TyCon #

Binary TypeLitSort # 
Instance details

Methods

put_ :: BinHandle -> TypeLitSort -> IO () #

put :: BinHandle -> TypeLitSort -> IO (Bin TypeLitSort) #

get :: BinHandle -> IO TypeLitSort #

Binary RuntimeRep # 
Instance details

Methods

put_ :: BinHandle -> RuntimeRep -> IO () #

put :: BinHandle -> RuntimeRep -> IO (Bin RuntimeRep) #

get :: BinHandle -> IO RuntimeRep #

Binary VecCount # 
Instance details

Methods

put_ :: BinHandle -> VecCount -> IO () #

put :: BinHandle -> VecCount -> IO (Bin VecCount) #

get :: BinHandle -> IO VecCount #

Binary VecElem # 
Instance details

Methods

put_ :: BinHandle -> VecElem -> IO () #

put :: BinHandle -> VecElem -> IO (Bin VecElem) #

get :: BinHandle -> IO VecElem #

Typeable a => Binary (TypeRep a) # 
Instance details

Methods

put_ :: BinHandle -> TypeRep a -> IO () #

put :: BinHandle -> TypeRep a -> IO (Bin (TypeRep a)) #

get :: BinHandle -> IO (TypeRep a) #