package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.20.1.tar.gz
md5=0cfaa70f569be9494d24c829e6555d46
sha512=8ee967c636b67b22a4f34115871d8f9b9114df309afc9ddf5f61275251088c6e21f6cf745811df75554d30f4cebb6682f23eeb2e88b771330c4b60ce3f6bf5e2

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.