package coq

  1. Overview
  2. Docs
Formal proof management system

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.14.1.tar.gz
sha256=3cbfc1e1a72b16d4744f5b64ede59586071e31d9c11c811a0372060727bfd9c3

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.