package coq

  1. Overview
  2. Docs
Formal proof management system

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.15.2.tar.gz
sha256=13a67c0a4559ae22e9765c8fdb88957b16c2b335a2d5f47e4d6d9b4b8b299926

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.