package ocaml-basics

  1. Overview
  2. Docs

Module OBOptionSource

Sourcemodule Kernel : sig ... end
Sourcemodule Monad : sig ... end
Sourcemodule Applicative : sig ... end
include module type of struct include Monad.Core end
Sourceval return : 'a -> 'a Kernel.t
Sourceval bind : 'a Kernel.t -> ('a -> 'b Kernel.t) -> 'b Kernel.t
include module type of struct include Applicative.Core end
Sourceval apply : ('a -> 'b) Applicative.t -> 'a Applicative.t -> 'b Applicative.t
Sourceval map : ('a -> 'b) -> 'a Applicative.t -> 'b Applicative.t
Sourceval pure : 'a -> 'a Applicative.t
include sig ... end
Sourceval traverse : ('a -> 'b Monad.t) -> 'a list -> 'b list Monad.t
Sourceval sequence : 'a Monad.t list -> 'a list Monad.t
Sourcemodule Infix : sig ... end
OCaml

Innovation. Community. Security.