package tezos-test-helpers

  1. Overview
  2. Docs

Utility to import let-syntax for any Monad.

Usage: let open Monad.Syntax(MyMonad) in <expr>

Parameters

module M : S

Signature

val let* : 'a M.t -> ('a -> 'b M.t) -> 'b M.t
val and* : 'a M.t -> 'b M.t -> ('a * 'b) M.t
val let+ : 'a M.t -> ('a -> 'b) -> 'b M.t
val and+ : 'a M.t -> 'b M.t -> ('a * 'b) M.t
OCaml

Innovation. Community. Security.