Safe Haskell | None |
---|
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 bSource
Run the given Server command with the config. Good for testing in the repl.
startServer :: Bool -> ServerM () ()Source
Start the server.
convertMsg :: FilePath -> SourceInfo -> CompileMessageSource
Convert an API message to a more structurally convenient reply message.