package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.19.0.tar.gz
md5=64b49dbc3205477bd7517642c0b9cbb6
sha512=02fb5b4fb575af79e092492cbec6dc0d15a1d74a07f827f657a72d4e6066532630e5a6d15be4acdb73314bd40b9a321f9ea0584e0ccfe51fd3a56353bd30db9b

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

Module Logic_monad.LogicalSource

Parameters

module P : Param

Signature

include Monad.S
include Monad.Def
type +'a t
val return : 'a -> 'a t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val (>>) : unit t -> 'a t -> 'a t
val map : ('a -> 'b) -> 'a t -> 'b t

The monadic laws must hold:

  • (x>>=f)>>=g = x>>=fun x' -> (f x'>>=g)
  • return a >>= f = f a
  • x>>=return = x

As well as the following identities:

  • x >> y = x >>= fun () -> y
  • map f x = x >>= fun x' -> f x'
module List : Monad.ListS with type 'a t := 'a t
Sourceval ignore : 'a t -> unit t
Sourceval set : P.s -> unit t
Sourceval get : P.s t
Sourceval modify : (P.s -> P.s) -> unit t
Sourceval put : P.w -> unit t
Sourceval current : P.e t
Sourceval local : P.e -> 'a t -> 'a t
Sourceval update : (P.u -> P.u) -> unit t
Sourceval zero : Exninfo.iexn -> 'a t
Sourceval plus : 'a t -> (Exninfo.iexn -> 'a t) -> 'a t
Sourceval split : 'a t -> ('a, 'a t, Exninfo.iexn) list_view t
Sourceval once : 'a t -> 'a t
Sourceval break : (Exninfo.iexn -> Exninfo.iexn option) -> 'a t -> 'a t
Sourceval lift : 'a NonLogical.t -> 'a t
Sourcetype 'a reified = ('a, Exninfo.iexn) BackState.reified
Sourcetype 'a reified_ = ('a, Exninfo.iexn) BackState.reified_
Sourceval run : 'a t -> P.e -> P.s -> ('a * P.s * P.w * P.u) reified
Sourcemodule Unsafe : sig ... end
OCaml

Innovation. Community. Security.