package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.19.2.tar.gz
md5=5d1187d5e44ed0163f76fb12dabf012e
sha512=91bc81530fa4f6498961583ad51eac5001f139881788b88e360a866ad8e2a6e2c5bce86d1a580ab4cd4782bf49d48318767df82471ce33ba3ac143e5569ad33c

doc/coq-core.engine/Logic_monad/BackState/index.html

Module Logic_monad.BackStateSource

Sourcetype (+'a, -'i, +'o, 'e) t
Sourceval return : 'a -> ('a, 's, 's, 'e) t
Sourceval (>>=) : ('a, 'i, 'm, 'e) t -> ('a -> ('b, 'm, 'o, 'e) t) -> ('b, 'i, 'o, 'e) t
Sourceval (>>) : (unit, 'i, 'm, 'e) t -> ('b, 'm, 'o, 'e) t -> ('b, 'i, 'o, 'e) t
Sourceval map : ('a -> 'b) -> ('a, 'i, 'o, 'e) t -> ('b, 'i, 'o, 'e) t
Sourceval ignore : ('a, 'i, 'o, 'e) t -> (unit, 'i, 'o, 'e) t
Sourceval set : 'o -> (unit, 'i, 'o, 'e) t
Sourceval get : ('s, 's, 's, 'e) t
Sourceval modify : ('i -> 'o) -> (unit, 'i, 'o, 'e) t
Sourceval interleave : ('e1 -> 'e2) -> ('e2 -> 'e1) -> ('a, 'i, 'o, 'e1) t -> ('a, 'i, 'o, 'e2) t

interleave src dst m adapts the exceptional content of the monad according to the functions src and dst. To ensure a meaningful result, those functions must form a retraction, i.e. dst (src e1) = e1 for all e1. This is typically the case when the type 'e1 is unit.

Sourceval zero : 'e -> ('a, 'i, 'o, 'e) t
Sourceval plus : ('a, 'i, 'o, 'e) t -> ('e -> ('a, 'i, 'o, 'e) t) -> ('a, 'i, 'o, 'e) t
Sourceval split : ('a, 's, 's, 'e) t -> (('a, ('a, 'i, 's, 'e) t, 'e) list_view, 's, 's, 'e) t
Sourceval once : ('a, 'i, 'o, 'e) t -> ('a, 'i, 'o, 'e) t
Sourceval break : ('e -> 'e option) -> ('a, 'i, 'o, 'e) t -> ('a, 'i, 'o, 'e) t
Sourceval lift : 'a NonLogical.t -> ('a, 's, 's, 'e) t
Sourcetype ('a, 'e) reified
Sourcetype ('a, 'e) reified_
Sourceval repr : ('a, 'e) reified -> ('a, ('a, 'e) reified_, 'e) list_view_ NonLogical.t
Sourceval run : ('a, 'i, 'o, 'e) t -> 'i -> ('a * 'o, 'e) reified
OCaml

Innovation. Community. Security.