Safe Haskell | None |
---|---|
Language | Haskell2010 |
Types for the messages to and fro the GHC server
It is important that none of the types here rely on the GHC library.
- module IdeSession.GHC.Requests
- module IdeSession.GHC.Responses
- ideBackendApiVersion :: Int
- hsExtensions :: [FilePath]
- hsBootExtensions :: [FilePath]
- cExtensions :: [FilePath]
- cHeaderExtensions :: [FilePath]
- sourceExtensions :: [FilePath]
- cabalMacrosLocation :: FilePath -> FilePath
- ideSessionSourceDir :: FilePath -> FilePath
- ideSessionDataDir :: FilePath -> FilePath
- ideSessionObjDir :: FilePath -> FilePath
Requests
module IdeSession.GHC.Requests
Responses
module IdeSession.GHC.Responses
Configuration
ideBackendApiVersion :: Int Source
For detecting runtime version mismatch between the server and the library
We use a Unix timestamp for this so that these API versions have some semantics (http:/www.epochconverter.com, GMT).
hsExtensions :: [FilePath] Source
Haskell source files
hsBootExtensions :: [FilePath] Source
Haskell .boot
files
cExtensions :: [FilePath] Source
C source files
cHeaderExtensions :: [FilePath] Source
C header files
sourceExtensions :: [FilePath] Source
Extensions of all source files we keep in our source directory.
Paths
ideSessionSourceDir :: FilePath -> FilePath Source
Warning: If configLocalWorkingDir is set, then this does not yield the proper source directory
The directory to use for managing source files.
ideSessionDataDir :: FilePath -> FilePath Source
Warning: If configLocalWorkingDir is set, then this does not yield the proper source directory
The directory to use for data files that may be accessed by the running program. The running program will have this as its CWD.
ideSessionObjDir :: FilePath -> FilePath Source
Directory where we store compiled C files (objects)