package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.20.1.tar.gz
md5=0cfaa70f569be9494d24c829e6555d46
sha512=8ee967c636b67b22a4f34115871d8f9b9114df309afc9ddf5f61275251088c6e21f6cf745811df75554d30f4cebb6682f23eeb2e88b771330c4b60ce3f6bf5e2

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.