package lsp
LSP protocol implementation in OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
jsonrpc-1.6.1.tbz
sha256=bccc0d7194714a4c40c362766ad9095d3c58505a1d4f1dc4becd9b3d1bda8209
sha512=199bee8c74aec6822bc83bf9a7c3757206bdaa55a19cd1f5cf480127618a078baa1e917f6a90a6135a5277e4eb87977e685c10e6503f546997e6b985949e190f
doc/lsp.stdune/Stdune/Map/module-type-S/index.html
Module type Map.S
Source
val empty : 'a t
val is_empty : 'a t -> bool
superpose a b
is b
augmented with bindings of a
that are not in b
.
val compare : 'a t -> 'a t -> compare:('a -> 'a -> Ordering.t) -> 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
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.
module Multi : sig ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>