package coq-core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module UUID : sig ... end
module UUIDMap : Stdlib.Map.S with type key = UUID.t
module UUIDSet : Stdlib.Set.S with type elt = UUID.t
exception NotReady of string
type 'a computation
type 'a value = [
  1. | `Val of 'a
  2. | `Exn of Exninfo.iexn
]
type fix_exn = Stateid.exn_info option
val create : fix_exn:fix_exn -> (unit -> 'a) -> 'a computation
val from_val : 'a -> 'a computation
type 'a assignment = [
  1. | `Val of 'a
  2. | `Exn of Exninfo.iexn
  3. | `Comp of unit -> 'a
]
val create_delegate : ?blocking:bool -> name:string -> fix_exn -> 'a computation * ('a assignment -> unit)
val replace : 'a computation -> 'a computation -> unit
val is_over : 'a computation -> bool
val is_exn : 'a computation -> bool
val peek_val : 'a computation -> 'a option
val uuid : 'a computation -> UUID.t
val chain : 'a computation -> ('a -> 'b) -> 'b computation
val force : 'a computation -> 'a
val compute : 'a computation -> 'a value
val print : ('a -> Pp.t) -> 'a computation -> Pp.t

Debug: print a computation given an inner printing function.

OCaml

Innovation. Community. Security.