package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.17.1.tar.gz
sha512=9a35311acec2a806730b94ac7dceabc88837f235c52a14c026827d9b89433bd7fa9555a9fc6829aa49edfedb24c8bbaf1411ebf463b74a50aeb17cba47745b6b

doc/coq-core.lib/Util/Array/Fun1/index.html

Module Array.Fun1Source

The functions defined in this module are the same as the main ones, except that they are all higher-order, and their function arguments have an additional parameter. This allows us to prevent closure creation in critical cases.

Sourceval map : ('r -> 'a -> 'b) -> 'r -> 'a array -> 'b array

Fun1.map f x v = map (f x) v

Sourceval iter : ('r -> 'a -> unit) -> 'r -> 'a array -> unit

Fun1.iter f x v = iter (f x) v

Sourceval iter2 : ('r -> 'a -> 'b -> unit) -> 'r -> 'a array -> 'b array -> unit

Fun1.iter2 f x v1 v2 = iter (f x) v1 v2

Sourcemodule Smart : sig ... end
OCaml

Innovation. Community. Security.