package lem

  1. Overview
  2. Docs
type (!'a, !'b) either =
  1. | Left of 'a
  2. | Right of 'b
val either_case : ('a -> 'b) -> ('c -> 'b) -> ('a, 'c) either -> 'b
val eitherEqualBy : ('a -> 'a -> bool) -> ('b -> 'b -> bool) -> ('a, 'b) either -> ('a, 'b) either -> bool
val either_partition : ('a, 'b) either list -> 'a list * 'b list
OCaml

Innovation. Community. Security.