package coq

  1. Overview
  2. Docs
Formal proof management system

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.14.1.tar.gz
sha256=3cbfc1e1a72b16d4744f5b64ede59586071e31d9c11c811a0372060727bfd9c3

doc/coq-core.clib/CArray/Fun1/index.html

Module CArray.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.