package note

  1. Overview
  2. Docs

Pair signals.

val fst : ?eq:('a -> 'a -> bool) -> ('a * 'b) signal -> 'a signal

fst ?eq s is map ?eq fst s.

val snd : ?eq:('b -> 'b -> bool) -> ('a * 'b) signal -> 'b signal

snd ?eq e is map ?eq snd e.

val v : 'a signal -> 'b signal -> ('a * 'b) signal

v s0 s1 is l2 (fun x y -> (x, y) s0 s1.

OCaml

Innovation. Community. Security.