package hardcaml_step_testbench

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Monads.Step_monadSource

module Input_monad : sig ... end
Sourcemodule Component : sig ... end
Sourcetype ('a, 'i, 'o) t
Sourceval sexp_of_t : ('a -> Sexplib0.Sexp.t) -> ('i -> Sexplib0.Sexp.t) -> ('o -> Sexplib0.Sexp.t) -> ('a, 'i, 'o) t -> Sexplib0.Sexp.t
Sourceval (>>=) : ('a, 'd, 'e) t -> ('a -> ('b, 'd, 'e) t) -> ('b, 'd, 'e) t
Sourceval (>>|) : ('a, 'd, 'e) t -> ('a -> 'b) -> ('b, 'd, 'e) t
Sourcemodule Let_syntax : sig ... end
Sourcemodule Monad_infix : sig ... end
Sourceval bind : ('a, 'd, 'e) t -> f:('a -> ('b, 'd, 'e) t) -> ('b, 'd, 'e) t
Sourceval return : 'a -> ('a, 'b, 'c) t
Sourceval map : ('a, 'd, 'e) t -> f:('a -> 'b) -> ('b, 'd, 'e) t
Sourceval join : (('a, 'd, 'e) t, 'd, 'e) t -> ('a, 'd, 'e) t
Sourceval ignore_m : ('a, 'd, 'e) t -> (unit, 'd, 'e) t
Sourceval all : ('a, 'd, 'e) t list -> ('a list, 'd, 'e) t
Sourceval all_unit : (unit, 'd, 'e) t list -> (unit, 'd, 'e) t
Sourceval next_step : Base.Source_code_position.t -> 'o -> ('i, 'i, 'o) t
Sourceval thunk : (Base.unit -> ('a, 'i, 'o) t) -> ('a, 'i, 'o) t
Sourceval output_forever : 'o -> ('a, 'b, 'o) t
Sourceval for_ : Base.int -> Base.int -> (Base.int -> (Base.unit, 'i, 'o) t) -> (Base.unit, 'i, 'o) t
Sourceval delay : 'o -> num_steps:Base.int -> (Base.unit, 'a, 'o) t
Sourceval repeat : count:Base.int -> (Base.unit -> (Base.unit, 'i, 'o) t) -> (Base.unit, 'i, 'o) t
Sourceval wait : output:'o -> until:('i -> Base.bool) -> (Base.unit, 'i, 'o) t
Sourcemodule Event : sig ... end
Sourceval wait_for : 'a Event.t -> output:'o -> ('a, 'b, 'o) t
Sourcemodule Component_finished : sig ... end
Sourceval spawn : ?update_children_after_finish:Base.bool -> Base.Source_code_position.t -> start:('i_c -> (('a, 'o_c) Component_finished.t, 'i_c, 'o_c) t) -> input:'i_c Digital_components.Data.t -> output:'o_c Digital_components.Data.t -> child_input:(parent:'i -> 'i_c) -> include_child_output:(parent:'o -> child:'o_c -> 'o) -> (('a, 'o_c) Component_finished.t Event.t, 'i, 'o) t
Sourceval create_component : created_at:Base.Source_code_position.t -> update_children_after_finish:Base.bool -> start:('i -> (('a, 'o) Component_finished.t, 'i, 'o) t) -> input:'i Digital_components.Data.t -> output:'o Digital_components.Data.t -> ('i, 'o) Component.t * ('a, 'o) Component_finished.t Event.t