haskell-lsp-0.23.0.0: Haskell library for the Microsoft Language Server Protocol

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.LSP.Control

Synopsis

Documentation

run Source #

Arguments

:: Show configs 
=> InitializeCallbacks configs

function to be called once initialize has been received from the client. Further message processing will start only after this returns.

-> Handlers 
-> Options 
-> Maybe FilePath

File to capture the session to.

-> IO Int 

Convenience function for 'runWithHandles stdin stdout'.

runWith Source #

Arguments

:: Show config 
=> IO ByteString

Client input.

-> (ByteString -> IO ())

Function to provide output to.

-> InitializeCallbacks config 
-> Handlers 
-> Options 
-> Maybe FilePath 
-> IO Int 

Starts listening and sending requests and responses using the specified I/O.

runWithHandles Source #

Arguments

:: Show config 
=> Handle

Handle to read client input from.

-> Handle

Handle to write output to.

-> InitializeCallbacks config 
-> Handlers 
-> Options 
-> Maybe FilePath 
-> IO Int 

Convenience function for runWith using the specified handles.