Module Base.ApplicativeSource
include sig ... end
module type S3_kernel = sig ... endApplicative operations. An applicative abstracts the notion of computations whose results can be combined. An 'a t represents a computation returning 'a.
module type S2_kernel = sig ... endApplicative operations for applicatives with two type parameters.
module type S_kernel = sig ... endApplicative operations for applicatives with one type parameter.
module type Applicative_infix3 = sig ... endInfix operators. This module type subsumes the other Index* types below.
module type Applicative_infix2 = sig ... endInfix operators for applicatives with two type parameters.
module type Applicative_infix = sig ... endInfix operators for applicatives with one type parameter.
module type S3 = sig ... endComplete applicative interface. Extends _kernel with infix operators.
module type S2 = sig ... endComplete applicative interface with two type parameters.
module type S = sig ... endComplete applicative interface with one type parameter.
module type Let_syntax3 = sig ... endSupports let%map syntax. See ppx_let documentation.
module type Let_syntax2 = sig ... endSupports let%map syntax for applicatives with two type parameters.
module type Let_syntax = sig ... endSupports let%map syntax for applicatives with one type parameter.
module type Lazy_applicative = sig ... endLazy_applicative is an applicative whose structure may be computed on-demand, instead of being constructed up-front. This is useful when implementing traversals over large data structures, where otherwise we have to pay O(n) up-front cost both in time and in memory.
module type For_let_syntax3 = sig ... endArgument to Make_let_syntax3.
module type For_let_syntax2 = sig ... endArgument to Make_let_syntax2.
module type For_let_syntax = sig ... endArgument to Make_let_syntax.
module type Basic3_using_map2 = sig ... endArgument to Make3_using_map2.
module type Basic_using_map2 = sig ... endArgument to Make_using_map2.
module type Basic2_using_map2 = sig ... endArgument to Make2_using_map2.
module Ident :
Base.Applicative.S__'value_or_null_mod_maybe_null'__local
with type ('a : value_or_null) t = 'aThe identity applicative. Useful as an argument to functors that require a monad, to produce a non-applicative result.
include sig ... end
include sig ... end
Produces a monad with one type parameter.
Produces a monad with two type parameters.
Produces a monad with three type parameters.
Converts a monad with one type parameter to an applicative.
Converts a monad with two type parameters to an applicative.
Converts a monad with three type parameters to an applicative.
Composes two applicatives, one nested inside the other.
Combines two applicatives as a pair.
include sig ... end
Constructs a Let_syntax module for an applicative with one type parameter.
Constructs a Let_syntax module for an applicative with two type parameters.