package ortac-runtime-qcheck-stm

  1. Overview
  2. Docs

Module SUT.MakeSource

Parameters

module M : sig ... end

Signature

Sourcetype elt = M.sut

Type of a single SUT

Sourcetype t

Values of type t represent a stack of SUTs

Sourceval create : int -> unit -> t

create n () creates an initial stack with n SUTs

Sourceval size : t -> int

size t returns the number of SUTs currently on the stack t

Sourceval get : t -> int -> elt

get t i gets the i-th SUT in the store

Sourceval push : t -> elt -> unit

push t e pushes the SUT e onto the stack t of SUTs

Sourceval get_name : t -> int -> string

get_name t n returns the name for the nth element of the stack t of SUTs

OCaml

Innovation. Community. Security.