package lsp
LSP protocol implementation in OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
jsonrpc-1.6.0.tbz
sha256=35e8c7341f8eb1fa39fb0f0e0701a7ed90b9a0bb89ccf84b7ed997cd258cbec3
sha512=c96a7a3ca845ec193e9edc4a74804a22d6e37efc852b54575011879bd2105e0df021408632219f542ca3ad85b36b5c8b72f2b417204d154d5f0dd0839535afa5
doc/lsp.fiber/Fiber/Make_map_traversals/argument-1-Map/index.html
Parameter Make_map_traversals.Map
val empty : 'a t
val is_empty : 'a t -> bool
val add : 'a t -> key -> 'a -> ('a t, 'a) Stdune.Result.t
superpose a b
is b
augmented with bindings of a
that are not in b
.
val compare :
'a t ->
'a t ->
compare:('a -> 'a -> Stdune.Ordering.t) ->
Stdune.Ordering.t
val iter : 'a t -> f:('a -> unit) -> unit
val fold : 'a t -> init:'b -> f:('a -> 'b -> 'b) -> 'b
val for_all : 'a t -> f:('a -> bool) -> bool
val exists : 'a t -> f:('a -> bool) -> bool
val cardinal : 'a t -> int
val of_list : (key * 'a) list -> ('a t, key * 'a * 'a) Stdune.Result.t
val of_list_map :
'a list ->
f:('a -> key * 'b) ->
('b t, key * 'a * 'a) Stdune.Result.t
Return a map of (k, v)
bindings such that:
v = f init @@ f v1 @@ fv2 @@ ... @@ f vn
where v1
, v2
, ... vn
are the values associated to k
in the input list, in the order in which they appear. This is essentially a more efficient version of:
of_list_multi l |> map ~f:(List.fold_left ~init ~f)
val values : 'a t -> 'a list
is_subset t ~of_ ~f
is true
iff all keys in t
are in of_
and f
is true
for all keys that are in both.
val to_dyn : ('a -> Stdune.Dyn.t) -> 'a t -> Stdune.Dyn.t
module Multi : sig ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>