Make.Syntax
Monadic operators, see Monad.Syntax.S for more.
val (>>=) : 'a T(M).t -> ('a -> 'b T(M).t) -> 'b T(M).t
m >>= f is bind m f
m >>= f
bind m f
val (>>|) : 'a T(M).t -> ('a -> 'b) -> 'b T(M).t
m >>= f is map m ~f
map m ~f
val (>=>) : ('a -> 'b T(M).t) -> ('b -> 'c T(M).t) -> 'a -> 'c T(M).t
f >=> g is fun x -> f x >>= g
f >=> g
fun x -> f x >>= g
val (!!) : 'a -> 'a T(M).t
!!x is return x
!!x
return x
val (!$) : ('a -> 'b) -> 'a T(M).t -> 'b T(M).t
!$f is Lift.unary f
!$f
Lift.unary f
val (!$$) : ('a -> 'b -> 'c) -> 'a T(M).t -> 'b T(M).t -> 'c T(M).t
!$$f is Lift.binary f
!$$f
Lift.binary f
val (!$$$) : ('a -> 'b -> 'c -> 'd) -> 'a T(M).t -> 'b T(M).t -> 'c T(M).t -> 'd T(M).t
!$$$f is Lift.ternary f
!$$$f
Lift.ternary f
val (!$$$$) : ('a -> 'b -> 'c -> 'd -> 'e) -> 'a T(M).t -> 'b T(M).t -> 'c T(M).t -> 'd T(M).t -> 'e T(M).t
!$$$$f is Lift.quaternary f
!$$$$f
Lift.quaternary f
val (!$$$$$) : ('a -> 'b -> 'c -> 'd -> 'e -> 'f) -> 'a T(M).t -> 'b T(M).t -> 'c T(M).t -> 'd T(M).t -> 'e T(M).t -> 'f T(M).t
!$$$$$f is Lift.quinary f
!$$$$$f
Lift.quinary f