package core

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.17.2.tar.gz
md5=6f07bb82d51d695ac4e76c8ac7f55902
sha512=c3c401fded188f74cf7ce6b1b07e7bc59fe18441eec602d174bfd48db13370fda986dd9f66d4ff9c26254ea2b381e7c51b366df9d2dfbf66fda281b4def3166a

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