package kappa-library

  1. Overview
  2. Docs
Public internals of the Kappa tool suite. Use this package to use kappa as a lib

Install

Dune Dependency

Authors

Maintainers

Sources

v4.1.3.tar.gz
md5=1c9a8a0d79f085757817f90834e166f5
sha512=13ac40442940ba6e72d7dc5bf952e67443872f7bff63e9c76a3a699a6904c88696047fe04519b7ec6546371642f6ee7b0983117be302694aca15500b0df40de3

doc/kappa-library.runtime/Kappa_runtime/Counter/Efficiency/index.html

Module Counter.EfficiencySource

Sourcetype t = {
  1. consecutive : int array;
  2. mutable consecutive_blocked : int;
  3. mutable no_more_binary : int;
  4. mutable no_more_unary : int;
  5. mutable clashing_instance : int;
  6. mutable time_correction : int;
}
Sourceval write_t : Buffer.t -> t -> unit

Output a JSON value of type t.

Sourceval string_of_t : ?len:int -> t -> string

Serialize a value of type t into a JSON string.

  • parameter len

    specifies the initial length of the buffer used internally. Default: 1024.

Sourceval read_t : Yojson.Safe.lexer_state -> Lexing.lexbuf -> t

Input JSON data of type t.

Sourceval t_of_string : string -> t

Deserialize JSON data of type t.

OCaml

Innovation. Community. Security.