package soteria

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

Module Monad.Make_syntax2

Syntax extension for two-parameter monads.

Parameters

module Base : Base2

Signature

type ('a, 'b) t = ('a, 'b) Base.t
val (let*) : ('a, 'b) t -> ('a -> ('c, 'b) t) -> ('c, 'b) t
val (let+) : ('a, 'b) t -> ('a -> 'c) -> ('c, 'b) t
val (let/) : ('a, 'b) t -> ('b -> ('a, 'c) t) -> ('a, 'c) t
val (let-) : ('a, 'b) t -> ('b -> 'c) -> ('a, 'c) t