Complete documentation and update .cabal
[opengl.git] / src / Language / Haskell / LSP / Test / Session.hs
index 1fee2be798f4ebdf504667556d5aa0523bd3e280..8e4754f391fe606decc98280b66c2364ef598d92 100644 (file)
@@ -65,12 +65,7 @@ import System.IO
 -- You can send and receive messages to the server within 'Session' via 'getMessage',
 -- 'sendRequest' and 'sendNotification'.
 --
--- @
--- runSession \"path\/to\/root\/dir\" $ do
---   docItem <- getDocItem "Desktop/simple.hs" "haskell"
---   sendNotification TextDocumentDidOpen (DidOpenTextDocumentParams docItem)
---   diagnostics <- getMessage :: Session PublishDiagnosticsNotification
--- @
+
 type Session = ParserStateReader FromServerMessage SessionState SessionContext IO
 
 -- | Stuff you can configure for a 'Session'.