package dune

  1. Overview
  2. Docs

Left or right

type ('a, 'b) t =
  1. | Left of 'a
  2. | Right of 'b
val map : ('a, 'b) t -> l:('a -> 'c) -> r:('b -> 'c) -> 'c
OCaml

Innovation. Community. Security.