package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.19.0.tar.gz
md5=64b49dbc3205477bd7517642c0b9cbb6
sha512=02fb5b4fb575af79e092492cbec6dc0d15a1d74a07f827f657a72d4e6066532630e5a6d15be4acdb73314bd40b9a321f9ea0584e0ccfe51fd3a56353bd30db9b

doc/coq-core.clib/Range/index.html

Module RangeSource

Skewed lists

This is a purely functional datastructure isomorphic to usual lists, except that it features a O(log n) lookup while preserving the O(1) cons operation.

Constructors
Sourcetype +'a t
Sourceval empty : 'a t
Sourceval cons : 'a -> 'a t -> 'a t
List operations
Sourceval is_empty : 'a t -> bool
Sourceval length : 'a t -> int
Sourceval map : ('a -> 'b) -> 'a t -> 'b t
Sourceval fold_left : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
Sourceval fold_right : ('a -> 'b -> 'b) -> 'a t -> 'b -> 'b
Sourceval hd : 'a t -> 'a
Sourceval tl : 'a t -> 'a t
Sourceval skipn : int -> 'a t -> 'a t
Indexing operations
Sourceval get : 'a t -> int -> 'a
OCaml

Innovation. Community. Security.