package core

  1. Overview
  2. Docs
Industrial strength alternative to OCaml's standard library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.1.tar.gz
md5=743a141234e04210e295980f7a78a6d9
sha512=61b415f4fb12c78d30649fff1aabe3a475eea926ce6edb7774031f4dc7f37ea51f5d9337ead6ec73cd93da5fd1ed0f2738c210c71ebc8fe9d7f6135a06bd176f

doc/core.univ_map/Univ_map/With_fold/index.html

Module Univ_map.With_foldSource

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

Sourcemodule Key : sig ... end
Sourceval set : t -> key:('a, 'b) Key.t -> data:'b -> t

reset the accumulator

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

the current accumulator

Sourceval add : t -> key:('a, 'b) Key.t -> data:'a -> t

fold value into accumulator

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

accumulator update

OCaml

Innovation. Community. Security.