package ocaml-basics

  1. Overview
  2. Docs
type ('ok, 'err) t = ('ok, 'err) result
module Core : sig ... end
include module type of Core
val apply : ('a -> 'b, 'c) t -> ('a, 'c) t -> ('b, 'c) t
val map : ('a -> 'b) -> ('a, 'c) t -> ('b, 'c) t
val pure : 'a -> ('a, _) t
module Infix : sig ... end
OCaml

Innovation. Community. Security.