package core_kernel

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

keys that map to an accumulator value with an associated fold operation

keys that map to an accumulator value with an associated fold operation

module Key : sig ... end
val set : Univ_map.t -> ('a, 'b) Key.t -> 'b -> Univ_map.t

reset the accumulator

val find : Univ_map.t -> ('a, 'b) Key.t -> 'b

the current accumulator

val add : Univ_map.t -> ('a, 'b) Key.t -> 'a -> Univ_map.t

fold value into accumulator

val change : Univ_map.t -> ('a, 'b) Key.t -> f:('b -> 'b) -> Univ_map.t

accumulator update

OCaml

Innovation. Community. Security.