package signal

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

Syntax for working with signal values.

open Signal.Syntax

let sum_signal s1 s2 =
  let+ x1 = s1 and+ x2 = s2 in
  x1 + x2
val let+ : 'a t -> ('a -> 'b) -> 'b t
val and+ : 'a t -> 'b t -> ('a * 'b) t
val (<~) : ('a -> 'b) -> 'a t -> 'b t
val (~~) : ('a -> 'b) t -> 'a t -> 'b t
OCaml

Innovation. Community. Security.