base

Full standard library replacement for OCaml
IN THIS PACKAGE
Module Base . Monad . Make . Monad_infix
val (>>=) : 'a X.t -> ( 'a -> 'b X.t ) -> 'b X.t

t >>= f returns a computation that sequences the computations represented by two monad elements. The resulting computation first does t to yield a value v, and then runs the computation returned by f v.

val (>>|) : 'a X.t -> ( 'a -> 'b ) -> 'b X.t

t >>| f is t >>= (fun a -> return (f a)).