jon.recoil.org

Module Monad.Identity

type 'a t = 'a
include Ocaml_utils.Misc_stdlib.Monad.S2 with type ('a, _) t := 'a Ocaml_utils.Misc_stdlib.Monad.Identity.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