package lwt_react

  1. Overview
  2. Docs
type 'a v = bool
val create : 'a v -> 'a v React.signal * (?step:React.step -> 'a v -> unit)
val equal : 'a v React.signal -> 'a v React.signal -> bool
val hold : 'a v -> 'a v React.event -> 'a v React.signal
val app : ('a -> 'b v) React.signal -> 'a React.signal -> 'b v React.signal
val map : ('a -> 'b v) -> 'a React.signal -> 'b v React.signal
val filter : ('a v -> bool) -> 'a v -> 'a v React.signal -> 'a v React.signal
val fmap : ('a -> 'b v option) -> 'b v -> 'a React.signal -> 'b v React.signal
val when_ : bool React.signal -> 'a v -> 'a v React.signal -> 'a v React.signal
val dismiss : 'b React.event -> 'a v -> 'a v React.signal -> 'a v React.signal
val accum : ('a v -> 'a v) React.event -> 'a v -> 'a v React.signal
val fold : ('a v -> 'b -> 'a v) -> 'a v -> 'b React.event -> 'a v React.signal
val merge : ('a v -> 'b -> 'a v) -> 'a v -> 'b React.signal list -> 'a v React.signal
val switch : 'a v React.signal React.signal -> 'a v React.signal
val bind : 'b React.signal -> ('b -> 'a v React.signal) -> 'a v React.signal
val fix : 'a v -> ('a v React.signal -> 'a v React.signal * 'b) -> 'b
val l1 : ('a -> 'b v) -> 'a React.signal -> 'b v React.signal
val l2 : ('a -> 'b -> 'c v) -> 'a React.signal -> 'b React.signal -> 'c v React.signal
val l3 : ('a -> 'b -> 'c -> 'd v) -> 'a React.signal -> 'b React.signal -> 'c React.signal -> 'd v React.signal
val l4 : ('a -> 'b -> 'c -> 'd -> 'e v) -> 'a React.signal -> 'b React.signal -> 'c React.signal -> 'd React.signal -> 'e v React.signal
val l5 : ('a -> 'b -> 'c -> 'd -> 'e -> 'f v) -> 'a React.signal -> 'b React.signal -> 'c React.signal -> 'd React.signal -> 'e React.signal -> 'f v React.signal
val l6 : ('a -> 'b -> 'c -> 'd -> 'e -> 'f -> 'g v) -> 'a React.signal -> 'b React.signal -> 'c React.signal -> 'd React.signal -> 'e React.signal -> 'f React.signal -> 'g v React.signal
OCaml

Innovation. Community. Security.