package incr_select

  1. Overview
  2. Docs
Handling of large set of incremental outputs from a single input

Install

dune-project
 Dependency

Authors

Maintainers

Sources

incr_select-v0.12.0.tar.gz
sha256=52848ff15a1636c24b3ad79be99a4324c48341a928bc38cd3bbbd4a1a65c1134
md5=d00eb011ede05fdbf39d23243078531b

doc/incr_select/Incr_select/Make/argument-1-Incr/Cutoff/index.html

Module Incr.Cutoff

An 'a Cutoff.t is a function that returns true if propagation of changes should be cutoff at a node based on the old value and the (possible) new value of the node.

type 'a t
val sexp_of_t : ('a -> Ppx_sexp_conv_lib.Sexp.t) -> 'a t -> Ppx_sexp_conv_lib.Sexp.t
include Core_kernel.Invariant.S1 with type 'a t := 'a t
val invariant : ('a -> unit) -> 'a t -> unit
val create : (old_value:'a -> new_value:'a -> bool) -> 'a t
val of_compare : ('a -> 'a -> int) -> 'a t
val always : _ t
val never : _ t
val phys_equal : _ t
val poly_equal : _ t
val should_cutoff : 'a t -> old_value:'a -> new_value:'a -> bool
val equal : 'a t -> 'a t -> bool

One can use equal in combination with get_cutoff to check if a node has a particular cutoff function. equal uses Core.phys_equal for functional values supplied to create and of_compare.