include module type of struct include GobResult.Syntax end
Open this to use applicative functor/monad syntax for result
.
val let+ : ('a, 'b) Stdlib.result -> ('a -> 'c) -> ('c, 'b) Stdlib.result
val and+ :
('a, 'b) Stdlib.result ->
('c, 'd) Stdlib.result ->
('e * 'f, 'g) Stdlib.result
val let* :
('a, 'b) Stdlib.result ->
('a -> ('c, 'b) Stdlib.result) ->
('c, 'b) Stdlib.result
val and* :
('a, 'b) Stdlib.result ->
('c, 'b) Stdlib.result ->
('a * 'c, 'b) Stdlib.result
val (>>=) :
('a, 'b) Stdlib.result ->
('a -> ('c, 'b) Stdlib.result) ->
('c, 'b) Stdlib.result