BinIface

ghc-8.2.2: The GHC API

Safe Haskell | None
Language | Haskell2010

BinIface

Description

Binary interface file support.

Synopsis

- writeBinIface :: DynFlags -> FilePath -> ModIface -> IO ()
- readBinIface :: CheckHiWay -> TraceBinIFaceReading -> FilePath -> TcRnIf a b ModIface
- getSymtabName :: NameCacheUpdater -> Dictionary -> SymbolTable -> BinHandle -> IO Name
- getDictFastString :: Dictionary -> BinHandle -> IO FastString
- data CheckHiWay
  - = CheckHiWay
  - | IgnoreHiWay
- data TraceBinIFaceReading
  - = TraceBinIFaceReading
  - | QuietBinIFaceReading

# Documentation

writeBinIface :: DynFlags -> FilePath -> ModIface -> IO () Source #

Write an interface file

readBinIface :: CheckHiWay -> TraceBinIFaceReading -> FilePath -> TcRnIf a b ModIface Source #

Read an interface file

getSymtabName :: NameCacheUpdater -> Dictionary -> SymbolTable -> BinHandle -> IO Name Source #

getDictFastString :: Dictionary -> BinHandle -> IO FastString Source #

data CheckHiWay Source #

Constructors

CheckHiWay |
IgnoreHiWay |

Instances

Eq CheckHiWay # |
Methods (==) :: CheckHiWay -> CheckHiWay -> Bool # (/=) :: CheckHiWay -> CheckHiWay -> Bool #

data TraceBinIFaceReading Source #

Constructors

TraceBinIFaceReading |
QuietBinIFaceReading |

Instances

Eq TraceBinIFaceReading # |
Methods (==) :: TraceBinIFaceReading -> TraceBinIFaceReading -> Bool # (/=) :: TraceBinIFaceReading -> TraceBinIFaceReading -> Bool #