package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.17.0.tar.gz
sha512=2f77bcb5211018b5d46320fd39fd34450eeb654aca44551b28bb50a2364398c4b34587630b6558db867ecfb63b246fd3e29dc2375f99967ff62bc002db9c3250

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.