Template Function rsl::mcompose(T, G, Ts…)
Defined in File monad.hpp
Function Documentation
-
template<typename T, typename G, typename ...Ts>
constexpr auto rsl::mcompose(T t, G g, Ts... vars) Variadic mcompose.
- Parameters:
t – First function
g – Second function
vars – Rest of the functions
- Template Parameters:
T – Type of the first function
G – Type of the second function
Ts – Types of the rest of the functions
- Returns:
A functional composition of variadic monad functions