package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.20.0.tar.gz
md5=66e57ea55275903bef74d5bf36fbe0f1
sha512=1a7eac6e2f58724a3f9d68bbb321e4cfe963ba1a5551b9b011db4b3f559c79be433d810ff262593d753770ee41ea68fbd6a60daa1e2319ea00dff64c8851d70b

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.