package io

  1. Overview
  2. Docs

Module Elements.ResultSource

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

Innovation. Community. Security.