package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.18.0.tar.gz
md5=8d852367b54f095d9fbabd000304d450
sha512=46922d5f2eb6802a148a52fd3e7f0be8370c93e7bc33cee05cf4a2044290845b10ccddbaa306f29c808e7c5019700763e37e45ff6deb507b874a4348010fed50

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.