package current_incr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Processing each item of a set efficiently.

Parameters

module Map : Map.S

Signature

val map : unit Map.t t -> (Map.key -> 'b cc) -> 'b Map.t t

map x fn applies fn to each element of x and returns a map from input elements to results. When new elements are added to x, it only runs fn on the new elements, rather than on all elements.

OCaml

Innovation. Community. Security.