package octez-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.