Library
Module
Module type
Parameter
Class
Class type
module M : OlmiInterfaces.BASIC_INTERFACE
module P : OlmiInterfaces.PLUS with type 'a t = 'a M.t
include OlmiInterfaces.INTERFACE with type 'a t = 'a M.t
include OlmiInterfaces.BASIC_INTERFACE with type 'a t = 'a M.t
include OlmiInterfaces.COMMON with type 'a t = 'a M.t
type 'a t = 'a M.t
val return : 'a -> 'a t
Place a value in a minimal monadic context
The join function is the conventional monad join operator. It is used to remove one level of monadic structure, projecting its bound argument into the outer level.
Sequentially compose two actions, passing any value produced by the first as an argument to the second.
include OlmiInterfaces.INFIX with type 'a t := 'a t
Sequentially compose two actions, passing any value produced by the first as an argument to the second.
Right-to-left Kleisli composition of monads. (>=>), with the arguments flipped
include OlmiInterfaces.LIFT with type 'a t := 'a t
Promote a function to a monad, scanning the monadic arguments from left to right
Promote a function to a monad, scanning the monadic arguments from left to right
Promote a function to a monad, scanning the monadic arguments from left to right
val keep_if : ('a -> bool) -> 'a -> 'a t
list >>= keep_if predicat
returns a list containing all values who's respecting the gived predicat.