package base

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

Or_unequal_lengths is used for functions that take multiple lists and that only make sense if all the lists have the same length, e.g. iter2, map3. Such functions check the list lengths prior to doing anything else, and return Unequal_lengths if not all the lists have the same length.

type 'a t =
  1. | Ok of 'a
  2. | Unequal_lengths
include sig ... end
val sexp_of_t : ('a -> Sexp.t) -> 'a t -> Sexp.t
OCaml

Innovation. Community. Security.