haddock
Source code
Contents
Index
Haddock.InterfaceFile
Synopsis
data
InterfaceFile
=
InterfaceFile
{
ifLinkEnv
::
LinkEnv
ifInstalledIfaces
:: [
InstalledInterface
]
}
readInterfaceFile
:: Maybe Session -> FilePath -> IO (Either String
InterfaceFile
)
writeInterfaceFile
:: FilePath ->
InterfaceFile
-> IO ()
Documentation
data
InterfaceFile
Source
Constructors
InterfaceFile
ifLinkEnv
::
LinkEnv
ifInstalledIfaces
:: [
InstalledInterface
]
Instances
Binary
InterfaceFile
readInterfaceFile
:: Maybe Session -> FilePath -> IO (Either String
InterfaceFile
)
Source
Read a Haddock (
.haddock
) interface file. Return either an
InterfaceFile
or an error message. If given a GHC
Session
, the function registers all read names in the name cache of the session.
writeInterfaceFile
:: FilePath ->
InterfaceFile
-> IO ()
Source
Produced by
Haddock
version 2.1.0