jon.recoil.org

Module Monad.Result

type ('a, 'e) t = ('a, 'e) Stdlib.result

>>= is a synonym for bind

val return : 'a -> ('a, _) Ocaml_utils.Misc_stdlib.Monad.Result.t

return v returns the (trivial) computation that returns v.

ignore_m t is map (fun _ -> ()) t.

Like all, but ensures that every monadic value in the list produces a unit value, all of which are discarded rather than being collected into a list.

module Syntax : sig ... end

As described at https://ocaml.org/manual/latest/bindingops.html