Safe Haskell | None |
---|---|
Language | Haskell2010 |
GHC requests
GHC requests use IdeSession.Types.Public types.
- data GhcInitRequest = GhcInitRequest {}
- data GhcRequest
- = ReqCompile { }
- | ReqRun { }
- | ReqSetEnv { }
- | ReqSetArgs {
- reqSetArgs :: [String]
- | ReqBreakpoint { }
- | ReqPrint { }
- | ReqLoad { }
- | ReqUnload { }
- | ReqSetGhcOpts {
- reqSetGhcOpts :: [String]
- | ReqCrash { }
- data GhcRunRequest
- data RunCmd
Documentation
data GhcInitRequest Source
Initial handshake with the ghc server
Ideally we'd send over the entire IdeStaticInfo but this includes some Cabal fields, and the ghc server does -not- compile against Cabal (although this isn't so important anymore now that we use Cabal-ide-backend)
data GhcRequest Source
ReqCompile | |
ReqRun | |
ReqSetEnv | |
ReqSetArgs | |
| |
ReqBreakpoint | |
ReqPrint | |
| |
ReqLoad | |
ReqUnload | |
ReqSetGhcOpts | |
| |
ReqCrash | For debugging only! :) |
data GhcRunRequest Source