package bonsai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val reveal_value : 'a Value.t -> 'a Private_value.t
val conceal_value : 'a Private_value.t -> 'a Value.t
val reveal_computation : 'a Computation.t -> 'a Private_computation.packed
val conceal_computation : 'a Private_computation.packed -> 'a Computation.t
val path : Bonsai__.Path.t Computation.t
module Value = Private_value
module Computation = Private_computation
module Apply_action : sig ... end
module Environment : sig ... end
module Meta : sig ... end

Meta.Model and Meta.Action contain the necessary functions associated with the hidden model and action types of Bonsai components. These are stored in Computation.packed.

module Snapshot : sig ... end

A snapshot represents the state of a component at an instant in time.

module Lifecycle : sig ... end
module Path : sig ... end
module Node_path : sig ... end
module Graph_info : sig ... end
module Instrumentation : sig ... end
module Flatten_values : sig ... end
val eval : environment:Environment.t -> path:Path.t -> clock:Ui_incr.Clock.t -> model:'model Ui_incr.t -> inject_dynamic:('dynamic_action -> unit Effect.t) -> inject_static:('static_action -> unit Effect.t) -> ('model, 'dynamic_action, 'static_action, 'result) Computation.t -> ('model, 'dynamic_action, 'result) Snapshot.t
OCaml

Innovation. Community. Security.