package ortac-runtime

  1. Overview
  2. Docs

Module Ortac_runtimeSource

Sourcetype location = {
  1. start : Lexing.position;
  2. stop : Lexing.position;
}
Sourcetype term_kind =
  1. | Check
  2. | Pre
  3. | Post
  4. | XPost
Sourcetype 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;
    }
Sourcetype error_report = {
  1. loc : location;
  2. fun_name : string;
  3. mutable errors : error list;
}
Sourceval pp_loc : Format.formatter -> location -> unit
Sourceval pp_error_report : Format.formatter -> error_report -> unit
Sourceexception Error of error_report
Sourcemodule Errors : sig ... end
Sourceexception Partial_function of exn * location
Sourcetype integer
Sourceval string_of_integer : integer -> string
Sourceval copy : 'a -> 'a
Sourcemodule Gospelstdlib : sig ... end
Sourcemodule Z : sig ... end
OCaml

Innovation. Community. Security.