lsp-types-1.6.0.1: Haskell library for the Microsoft Language Server Protocol, data types
Safe HaskellNone
LanguageHaskell2010

Language.LSP.Types.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.Types.SMethodMap

Semigroup (SMethodMap v) Source # 
Instance details

Defined in Language.LSP.Types.SMethodMap

singleton :: forall {f :: From} {t :: MethodType} (a :: Method f t) v. SMethod a -> v a -> SMethodMap v Source #

insert :: forall {f :: From} {t :: MethodType} (a :: Method f t) v. SMethod a -> v a -> SMethodMap v -> SMethodMap v Source #

delete :: forall {f1 :: From} {t1 :: MethodType} {f2 :: From} {t2 :: MethodType} (a :: Method f1 t1) (v :: Method f2 t2 -> Type). SMethod a -> SMethodMap v -> SMethodMap v Source #

member :: forall {f1 :: From} {t1 :: MethodType} {f2 :: From} {t2 :: MethodType} (a :: Method f1 t1) (v :: Method f2 t2 -> Type). SMethod a -> SMethodMap v -> Bool Source #

lookup :: forall {f :: From} {t :: MethodType} (a :: Method f t) v. SMethod a -> SMethodMap v -> Maybe (v a) Source #

map :: forall {f :: From} {t :: MethodType} u v. (forall (a :: Method f t). u a -> v a) -> SMethodMap u -> SMethodMap v Source #