rocq-runtime.clib
SList
Sparse lists.
btauto_plugin
byte_config
cc_core_plugin
cc_plugin
derive_plugin
extraction_plugin
firstorder_core_plugin
firstorder_plugin
funind_plugin
ltac2_ltac1_plugin
ltac2_plugin
ltac_plugin
micromega_core_plugin
micromega_plugin
nsatz_core_plugin
nsatz_plugin
number_string_notation_plugin
ring_plugin
rocq-runtime.boot
rocq-runtime.checklib
rocq-runtime.config
rocq-runtime.coqargs
rocq-runtime.coqdeplib
rocq-runtime.coqworkmgrapi
rocq-runtime.debugger_support
rocq-runtime.dev
rocq-runtime.engine
rocq-runtime.gramlib
rocq-runtime.interp
rocq-runtime.kernel
rocq-runtime.lib
rocq-runtime.library
rocq-runtime.parsing
rocq-runtime.perf
rocq-runtime.plugins
rocq-runtime.pretyping
rocq-runtime.printing
rocq-runtime.proofs
rocq-runtime.rocqshim
rocq-runtime.stm
rocq-runtime.sysinit
rocq-runtime.tactics
rocq-runtime.toplevel
rocq-runtime.vernac
rocq-runtime.vm
rtauto_plugin
ssreflect_plugin
ssrmatching_plugin
tauto_plugin
tuto0_plugin
tuto1_plugin
tuto2_plugin
tuto3_plugin
zify_plugin
type +'a t = private
| Nil
| Cons of 'a * 'a t
| Default of int * 'a t
'a t is an efficient representation of 'a option list.
'a t
'a option list
val empty : 'a t
The empty list.
val cons : 'a -> 'a t -> 'a t
Isomorphic to Some x :: l.
Some x :: l
val default : 'a t -> 'a t
Isomorphic to None :: l.
None :: l
val cons_opt : 'a option -> 'a t -> 'a t
cons if Some, default otherwise
cons
Some
default
val defaultn : int -> 'a t -> 'a t
Iterated variant of default.
val view : 'a t -> ('a option * 'a t) option
val is_empty : 'a t -> bool
val is_default : 'a t -> bool
val length : 'a t -> int
val equal : ('a -> 'b -> bool) -> 'a t -> 'b t -> bool
val compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int
val to_list : 'a t -> 'a option list
val of_full_list : 'a list -> 'a t
module Skip : sig ... end
These iterators ignore the default values in the list.
module Smart : sig ... end
These iterators also ignore the default values in the list.