Template Function rsl::mcompose(Fn, G)
Defined in File monad.hpp
Function Documentation
-
template<typename Fn, typename G>
constexpr auto rsl::mcompose(Fn fn, G g) Monadic compose two monad functions.
- Parameters:
fn – First function
g – Second function
- Template Parameters:
Fn – Type of the first function
G – Type of the second function
- Returns:
A functional composition of two monad functions