ghc-lib-parser-9.12.2.20250421: The GHC API, decoupled from GHC versions

Safe Haskell | Ignore
Language | GHC2021

GHC.Utils.Binary.Typeable

Contents

- Orphan instances

Description

Orphan Binary instances for Data.Typeable stuff

# Documentation

getSomeTypeRep :: ReadBinHandle -> IO SomeTypeRep Source #

# Orphan instances

Binary SomeTypeRep Source # |
Instance details Methods put_ :: WriteBinHandle -> SomeTypeRep -> IO () Source # put :: WriteBinHandle -> SomeTypeRep -> IO (Bin SomeTypeRep) Source # get :: ReadBinHandle -> IO SomeTypeRep Source #
Binary Serialized Source # |
Instance details Methods put_ :: WriteBinHandle -> Serialized -> IO () Source # put :: WriteBinHandle -> Serialized -> IO (Bin Serialized) Source # get :: ReadBinHandle -> IO Serialized Source #
Binary KindRep Source # |
Instance details Methods put_ :: WriteBinHandle -> KindRep -> IO () Source # put :: WriteBinHandle -> KindRep -> IO (Bin KindRep) Source # get :: ReadBinHandle -> IO KindRep Source #
Binary TyCon Source # |
Instance details Methods put_ :: WriteBinHandle -> TyCon -> IO () Source # put :: WriteBinHandle -> TyCon -> IO (Bin TyCon) Source # get :: ReadBinHandle -> IO TyCon Source #
Binary TypeLitSort Source # |
Instance details Methods put_ :: WriteBinHandle -> TypeLitSort -> IO () Source # put :: WriteBinHandle -> TypeLitSort -> IO (Bin TypeLitSort) Source # get :: ReadBinHandle -> IO TypeLitSort Source #
Binary RuntimeRep Source # |
Instance details Methods put_ :: WriteBinHandle -> RuntimeRep -> IO () Source # put :: WriteBinHandle -> RuntimeRep -> IO (Bin RuntimeRep) Source # get :: ReadBinHandle -> IO RuntimeRep Source #
Binary VecCount Source # |
Instance details Methods put_ :: WriteBinHandle -> VecCount -> IO () Source # put :: WriteBinHandle -> VecCount -> IO (Bin VecCount) Source # get :: ReadBinHandle -> IO VecCount Source #
Binary VecElem Source # |
Instance details Methods put_ :: WriteBinHandle -> VecElem -> IO () Source # put :: WriteBinHandle -> VecElem -> IO (Bin VecElem) Source # get :: ReadBinHandle -> IO VecElem Source #
Typeable a => Binary (TypeRep a) Source # |
Instance details Methods put_ :: WriteBinHandle -> TypeRep a -> IO () Source # put :: WriteBinHandle -> TypeRep a -> IO (Bin (TypeRep a)) Source # get :: ReadBinHandle -> IO (TypeRep a) Source #