hsdev-0.1.7.3: Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references etc.

Safe HaskellNone
LanguageHaskell98

HsDev.Server.Message

Synopsis

Documentation

data Message a Source

Message with id to link request and response

Constructors

Message 

Fields

_messageId :: Maybe String
 
_message :: a
 

message :: forall a a. Lens (Message a) (Message a) a a Source

messagesById :: Maybe String -> [Message a] -> [a] Source

Get messages by id

data Result Source

Result from server

Constructors

Result Value

Result

Error String (Map String Value)

Error

data ResultPart Source

Part of result list, returns via notification

Constructors

ResultPart Value