Safe Haskell | None |
---|---|
Language | Haskell2010 |
Main entry point to the server.
- runWithConfig :: ServerM () b -> Config -> IO b
- startServer :: Bool -> ServerM () ()
- convertMsg :: FilePath -> SourceInfo -> CompileMessage
Documentation
runWithConfig :: ServerM () b -> Config -> IO b Source
Run the given Server command with the config. Good for testing in the repl.
startServer :: Bool -> ServerM () () Source
Start the server.
convertMsg :: FilePath -> SourceInfo -> CompileMessage Source
Convert an API message to a more structurally convenient reply message.