base

Full standard library replacement for OCaml
IN THIS PACKAGE
Module Base . Monad . Make_indexed

Parameters

module X : Basic_indexed

Signature

val (>>=) : ( 'a, 'i, 'j ) X.t -> ( 'a -> ( 'b, 'j, 'k ) X.t ) -> ( 'b, 'i, 'k ) X.t
val (>>|) : ( 'a, 'i, 'j ) X.t -> ( 'a -> 'b ) -> ( 'b, 'i, 'j ) X.t
module Let_syntax : sig ... end
module Monad_infix : sig ... end
val bind : ( 'a, 'i, 'j ) X.t -> f:( 'a -> ( 'b, 'j, 'k ) X.t ) -> ( 'b, 'i, 'k ) X.t
val return : 'a -> ( 'a, 'i, 'i ) X.t
val map : ( 'a, 'i, 'j ) X.t -> f:( 'a -> 'b ) -> ( 'b, 'i, 'j ) X.t
val join : ( ( 'a, 'j, 'k ) X.t, 'i, 'j ) X.t -> ( 'a, 'i, 'k ) X.t
val ignore_m : ( _, 'i, 'j ) X.t -> ( unit, 'i, 'j ) X.t
val all : ( 'a, 'i, 'i ) X.t list -> ( 'a list, 'i, 'i ) X.t
val all_unit : ( unit, 'i, 'i ) X.t list -> ( unit, 'i, 'i ) X.t