package vlt

  1. Overview
  2. Docs

Module Paje.MakeSource

Functor building a type-safe version of Pajé trace-recording functions. Definitions from the passed module are recorded at the "TRACE" level.

Parameters

module D : Definitions

Signature

Sourceval t : string
Sourcetype properties = (string * string) list
Sourcetype name = string
Sourcetype alias = string
Sourcetype color = float * float * float
Sourcetype container_type = D.container_type
Sourcetype state_type = D.state_type
Sourcetype event_type = D.event_type
Sourcetype variable_type = D.variable_type
Sourcetype entity_value_type
Sourceval create_container : name:name -> typ:container_type -> ?container:name -> ?alias:alias -> properties -> properties
Sourceval destroy_container : name:name -> typ:container_type -> properties -> properties
Sourceval set_state : typ:state_type -> container:name -> value:string -> properties -> properties
Sourceval push_state : typ:state_type -> container:name -> value:string -> properties -> properties
Sourceval pop_state : typ:state_type -> container:name -> properties -> properties
Sourceval reset_state : typ:state_type -> container:name -> properties -> properties
Sourceval new_event : typ:event_type -> container:name -> value:string -> properties -> properties
Sourceval set_variable : typ:variable_type -> container:name -> value:float -> properties -> properties
Sourceval add_variable : typ:variable_type -> container:name -> value:float -> properties -> properties
Sourceval sub_variable : typ:variable_type -> container:name -> value:float -> properties -> properties
OCaml

Innovation. Community. Security.