package core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('left, 'right) t = [
  1. | `Both of 'left * 'right
  2. | `Left of 'left
  3. | `Right of 'right
]
val left : ('left, 'a) t -> 'left Base.Option.t
val right : ('a, 'right) t -> 'right Base.Option.t
val left_value : ('left, 'a) t -> default:'left -> 'left
val right_value : ('a, 'right) t -> default:'right -> 'right
val values : ('left, 'right) t -> left_default:'left -> right_default:'right -> 'left * 'right
OCaml

Innovation. Community. Security.