package io

  1. Overview
  2. Docs
module Public : sig ... end
include module type of struct include Public end
type ('a, 'e) result = ('a, 'e) Public.result =
  1. | Ok of 'a
  2. | Error of 'e
val ok : 'a -> ('b, 'c) result
val error : 'a -> ('b, 'c) result
type ('a, 'e) t = ('a, 'e) result
OCaml

Innovation. Community. Security.