package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.19.2.tar.gz
md5=5d1187d5e44ed0163f76fb12dabf012e
sha512=91bc81530fa4f6498961583ad51eac5001f139881788b88e360a866ad8e2a6e2c5bce86d1a580ab4cd4782bf49d48318767df82471ce33ba3ac143e5569ad33c

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

Module NeListSource

Sourcetype +'a t

Non-empty lists

Sourceval head : 'a t -> 'a
Sourceval tail : 'a t -> 'a t option
Sourceval singleton : 'a -> 'a t
Sourceval iter : ('a -> unit) -> 'a t -> unit
Sourceval map : ('a -> 'b) -> 'a t -> 'b t
Sourceval map2 : ('a -> 'b -> 'c) -> 'a t -> 'b t -> 'c t
Sourceval map_head : ('a -> 'a) -> 'a t -> 'a t
Sourceval push : 'a -> 'a t option -> 'a t
Sourceval to_list : 'a t -> 'a list
Sourceval of_list : 'a list -> 'a t

May raise Invalid_argument

Sourceval repr : 'a t -> 'a * 'a list
Sourceval of_repr : ('a * 'a list) -> 'a t
OCaml

Innovation. Community. Security.