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

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.LSP.Control

Synopsis

Documentation

run Source #

Arguments

:: Show c 
=> InitializeCallback c

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'.

runWithHandles Source #

Arguments

:: Show c 
=> Handle

Handle to read client input from.

-> Handle

Handle to write output to.

-> InitializeCallback c 
-> Handlers 
-> Options 
-> Maybe FilePath 
-> IO Int 

Starts listening and sending requests and responses at the specified handles.