package lsp

  1. Overview
  2. Docs
LSP protocol implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

jsonrpc-1.7.0.tbz
sha256=ca43b6608366ddf891d7c1e1cc38de2c7f93a6da0511de164959db1f88fc42ed
sha512=43a00604f25bd1d3e93bfd43f1ef9c4cad9aa392c15a5db0c5ba0264f396e7ca6f60a0293467609402e87aeec441a05e7ee2990b37c98dc27b92a22afbebfd02

doc/lsp.stdune/Stdune/Option/index.html

Module Stdune.OptionSource

Optional values

Sourcetype 'a t = 'a option =
  1. | None
  2. | Some of 'a
Sourcemodule O : sig ... end
Sourceval map : 'a t -> f:('a -> 'b) -> 'b t
Sourceval bind : 'a t -> f:('a -> 'b t) -> 'b t
Sourceval iter : 'a t -> f:('a -> unit) -> unit
Sourceval forall : 'a t -> f:('a -> bool) -> bool
Sourceval value : 'a t -> default:'a -> 'a
Sourceval value_exn : 'a t -> 'a
Sourceval some : 'a -> 'a t
Sourceval some_if : bool -> 'a -> 'a t
Sourceval is_some : _ t -> bool
Sourceval is_none : _ t -> bool
Sourceval both : 'a t -> 'b t -> ('a * 'b) t
Sourceval split : ('a * 'b) t -> 'a t * 'b t
Sourceval to_list : 'a t -> 'a list
Sourceval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
Sourceval hash : ('a -> int) -> 'a t -> int
Sourceval compare : ('a -> 'a -> Ordering.t) -> 'a t -> 'a t -> Ordering.t
Sourceval try_with : (unit -> 'a) -> 'a option
Sourcemodule List : sig ... end
Sourceval merge : 'a t -> 'a t -> f:('a -> 'a -> 'a) -> 'a t
OCaml

Innovation. Community. Security.