package travesty

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

Extend1 creates Extensions for a Container.S1.

Parameters

Signature

val max_measure : measure:('a -> int) -> ?default:int -> 'a C.t -> int

max_measure ~measure ~default xs measures each item in xs according to measure, and returns the highest measure reported. If xs is empty, return default if given, and 0 otherwise.

val any : predicates:('a -> bool) C.t -> 'a -> bool

any ~predicates x tests x against predicates until one returns true, or all return false.

OCaml

Innovation. Community. Security.