package lsp

  1. Overview
  2. Docs
LSP protocol implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

jsonrpc-1.4.1.tbz
sha256=cee8371e7048e24c90e916c373ef6f3aba6f474d8a5fcf507ab6650fd8575eeb
sha512=150ebf71d3484d3beec1a145877cf30d84581bd072dd20159e878ed07cc4fc647b019b98bb0c9fede839b87f7bd13de4a64b534c0760a2ec57d0e4a4deac6f0f

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
OCaml

Innovation. Community. Security.