lsp-types-2.1.0.0: Haskell library for the Microsoft Language Server Protocol, data types
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.LSP.Protocol.Utils.SMethodMap

Synopsis

Documentation

data SMethodMap (v :: Method f t -> Type) Source #

A specialized alternative to a full dependent map for use with SMethod.

Instances

Instances details
Monoid (SMethodMap v) Source # 
Instance details

Defined in Language.LSP.Protocol.Utils.SMethodMap

Semigroup (SMethodMap v) Source # 
Instance details

Defined in Language.LSP.Protocol.Utils.SMethodMap

insert :: SMethod a -> v a -> SMethodMap v -> SMethodMap v Source #

lookup :: SMethod a -> SMethodMap v -> Maybe (v a) Source #

map :: (forall a. u a -> v a) -> SMethodMap u -> SMethodMap v Source #