Page
Library
Module
Module type
Parameter
Class
Class type
Source
OlmiMake.MonadSourcemodule M : OlmiInterfaces.BASIC_INTERFACEinclude OlmiInterfaces.BASIC_INTERFACE with type 'a t = 'a M.tinclude OlmiInterfaces.COMMON with type 'a t = 'a M.ttype 'a t = 'a M.tval return : 'a -> 'a tPlace 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 tSequentially 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
Left-to-right Kleisli composition of monads.
include OlmiInterfaces.LIFT with type 'a t := 'a tPromote 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