package hardcaml_waveterm
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  A terminal based digital waveform viewer for Hardcaml
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      v0.17.0.tar.gz
    
    
        
    
  
  
  
    
  
        sha256=a6780e4310f46cd71ff8a3cdf12bb51afdf0eaea5e84645a148a4ecd0f02920b
    
    
  doc/src/hardcaml_waveterm.event_store/event_store_intf.ml.html
Source file event_store_intf.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39open! Base module type Data = sig type t [@@deriving sexp_of] val none : t val merge : t -> t -> t end module type Time = sig type t [@@deriving compare, sexp_of] val zero : t end module M (Time : Time) (Data : Data) = struct module type S = sig type t [@@deriving sexp_of] val create : unit -> t val set : t -> int -> Time.t -> Data.t -> unit val get_time_at_index : t -> int -> Time.t val get_data_at_index : t -> int -> Data.t val length : t -> int val capacity : t -> int val resize : t -> unit val find_insertion_index : t -> Time.t -> int option val insert : t -> Time.t -> Data.t -> unit val get : t -> Time.t -> Data.t end end module type Event_store = sig module type Data = Data module type Time = Time module M = M module Make (Time : Time) (Data : Data) : M(Time)(Data).S end
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >