package dune-rpc

  1. Overview
  2. Docs
Communicate with dune using rpc

Install

Dune Dependency

Authors

Maintainers

Sources

dune-3.7.0.tbz
sha256=e2d637c9d080318fedf5e71d2a29fb367624f82ac4a26e83df2b3a03550528b8
sha512=586e47ee45cd53a8c13095bde0b47de99aad9462d0a52199362140b5b654ca862597fa9f27f729a8cc594684ac46858848f9fa76f8f06dc8dc8ab8b1186a3295

doc/dune-rpc.private/Dune_rpc_private/Id/Map/Multi/index.html

Module Map.MultiSource

Sourcetype nonrec 'a t = 'a list t
Sourceval rev_union : 'a t -> 'a t -> 'a t
Sourceval cons : 'a t -> key -> 'a -> 'a t
Sourceval find : 'a t -> key -> 'a list
Sourceval add_all : 'a t -> key -> 'a list -> 'a t
Sourceval find_elt : 'a t -> f:('a -> bool) -> (key * 'a) option

find_elt m ~f linearly traverses the map m and the contained lists to find the first element e (in a list l, mapped to key k) such that f e = true. If such an e is found then the function returns Some (k,e), otherwise it returns None.

Sourceval to_flat_list : 'a t -> 'a list
Sourceval equal : 'a t -> 'a t -> equal:('a -> 'a -> bool) -> bool
Sourceval map : 'a t -> f:('a -> 'b) -> 'b t
Sourceval to_dyn : ('a -> Dyn.t) -> 'a t -> Dyn.t
OCaml

Innovation. Community. Security.