package coq

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val map : (key -> 'a -> key * 'b) -> 'a t -> 'b t

As the usual map, but also allows modifying the key of a binding. It is required that the mapping function f preserves key equality, i.e.: for all (k : key) (x : 'a), compare (fst (f k x)) k = 0.

OCaml

Innovation. Community. Security.