include Base_syntax2 with type ('a, 'e) t := ( 'a, 'e ) X.t
include Core_kernel.Monad.Infix2 with type ('a, 'e) t := ( 'a, 'e ) X.t
val (>>=) : ( 'a, 'e ) X.t -> ( 'a -> ( 'b, 'e ) X.t ) -> ( 'b, 'e ) X.tval (>>|) : ( 'a, 'e ) X.t -> ( 'a -> 'b ) -> ( 'b, 'e ) X.tinclude Let_syntax2 with type ('a, 'e) t := ( 'a, 'e ) X.t
val return : 'a -> ( 'a, 'e ) X.tval bind : ( 'a, 'e ) X.t -> f:( 'a -> ( 'b, 'e ) X.t ) -> ( 'b, 'e ) X.tval map : ( 'a, 'e ) X.t -> f:( 'a -> 'b ) -> ( 'b, 'e ) X.tval both : ( 'a, 'e ) X.t -> ( 'b, 'e ) X.t -> ( 'a * 'b, 'e ) X.t