package ortac-runtime-qcheck-stm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Ortac_runtime end
type location = Ortac_runtime.location = {
  1. start : Lexing.position;
  2. stop : Lexing.position;
}
type term_kind = Ortac_runtime.term_kind =
  1. | Check
  2. | Pre
  3. | Post
  4. | XPost
type error = Ortac_runtime.error =
  1. | Violated_axiom
  2. | Axiom_failure of {
    1. exn : exn;
    }
  3. | Violated_invariant of {
    1. term : string;
    2. position : term_kind;
    }
  4. | Violated_condition of {
    1. term : string;
    2. term_kind : term_kind;
    }
  5. | Specification_failure of {
    1. term : string;
    2. term_kind : term_kind;
    3. exn : exn;
    }
  6. | Unexpected_exception of {
    1. allowed_exn : string list;
    2. exn : exn;
    }
  7. | Uncaught_checks of {
    1. term : string;
    }
  8. | Unexpected_checks of {
    1. terms : string list;
    }
type error_report = Ortac_runtime.error_report = {
  1. loc : location;
  2. fun_name : string;
  3. mutable errors : error list;
}
val pp_loc : Format.formatter -> location -> unit
val pp_error_report : Format.formatter -> error_report -> unit
exception Error of error_report
module Errors = Ortac_runtime.Errors
exception Partial_function of exn * location
type integer = Ortac_runtime.integer
module Gospelstdlib = Ortac_runtime.Gospelstdlib
module Z = Ortac_runtime.Z
type report = {
  1. mod_name : string;
  2. init_sut : string;
  3. ret : (string, STM.res) Either.t;
  4. cmd : string;
  5. terms : (string * location) list;
}
val report : string -> string -> (string, STM.res) Either.t -> string -> (string * location) list -> report
val append : report option -> report option -> report option
type STM.ty +=
  1. | Dummy : 'a STM.ty
val dummy : 'a STM.ty * ('b -> string)
val is_dummy : STM.res -> bool
module Make (Spec : STM.Spec) : sig ... end
OCaml

Innovation. Community. Security.