![]() |
LeechCraft 0.6.70-17335-ge406ffdcaf
Modular cross-platform feature rich live environment.
|
#include "monad.h"
Public Types | |
template<typename F> | |
using | BindResult_t = std::invoke_result_t<F, R> |
Static Public Member Functions | |
template<typename F> | |
static BindResult_t< F > | Bind (const Either< L, R > &value, const F &f) |
using LC::Util::InstanceMonad< Either< L, R > >::BindResult_t = std::invoke_result_t<F, R> |
|
inlinestatic |
Definition at line 112 of file monad.h.
References LC::Util::Either< L, R >::GetLeft(), LC::Util::Either< L, R >::GetRight(), and LC::Util::Either< L, R >::IsLeft().