package coq

  1. Overview
  2. Docs
Formal proof management system

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.16.1.tar.gz
sha256=583471c8ed4f227cb374ee8a13a769c46579313d407db67a82d202ee48300e4b

doc/coq-core.lib/DAst/index.html

Module DAstSource

Lazy AST node wrapper. Only used for glob_constr as of today.

Sourcetype ('a, _) thunk =
  1. | Value : 'a -> ('a, 'b) thunk
  2. | Thunk : 'a Lazy.t -> ('a, [ `thunk ]) thunk
Sourcetype ('a, 'b) t = ('a, 'b) thunk CAst.t
Sourceval get : ('a, 'b) t -> 'a
Sourceval get_thunk : ('a, 'b) thunk -> 'a
Sourceval make : ?loc:Loc.t -> 'a -> ('a, 'b) t
Sourceval delay : ?loc:Loc.t -> (unit -> 'a) -> ('a, [ `thunk ]) t
Sourceval force : ('a, 'b) t -> ('a, 'b) t
Sourceval map : ('a -> 'b) -> ('a, 'c) t -> ('b, 'c) t
Sourceval map_with_loc : (?loc:Loc.t -> 'a -> 'b) -> ('a, 'c) t -> ('b, 'c) t
Sourceval map_from_loc : (?loc:Loc.t -> 'a -> 'b) -> 'a Loc.located -> ('b, 'c) t
Sourceval with_val : ('a -> 'b) -> ('a, 'c) t -> 'b
Sourceval with_loc_val : (?loc:Loc.t -> 'a -> 'b) -> ('a, 'c) t -> 'b
OCaml

Innovation. Community. Security.