LeechCraft  0.6.70-13729-g7046a9d2a7
Modular cross-platform feature rich live environment.
LC::Util::InstanceApplicative< Either< L, R > > Struct Template Reference

#include "either.h"

Classes

struct  GSLResult
 
struct  GSLResult< Either< L, V > >
 

Public Types

using Type_t = Either< L, R >
 

Static Public Member Functions

template<typename RP >
static Either< L, RP > Pure (const RP &v)
 
template<typename AV >
static GSLResult_t< Type_t, AV > GSL (const Type_t &f, const AV &v)
 

Detailed Description

template<typename L, typename R>
struct LC::Util::InstanceApplicative< Either< L, R > >

Definition at line 246 of file either.h.

Member Typedef Documentation

◆ Type_t

template<typename L , typename R >
using LC::Util::InstanceApplicative< Either< L, R > >::Type_t = Either<L, R>

Definition at line 248 of file either.h.

Member Function Documentation

◆ GSL()

template<typename L , typename R >
template<typename AV >
static GSLResult_t<Type_t, AV> LC::Util::InstanceApplicative< Either< L, R > >::GSL ( const Type_t f,
const AV &  v 
)
inlinestatic

Definition at line 266 of file either.h.

References LC::Util::oral::sph::f.

◆ Pure()

template<typename L , typename R >
template<typename RP >
static Either<L, RP> LC::Util::InstanceApplicative< Either< L, R > >::Pure ( const RP &  v)
inlinestatic

Definition at line 260 of file either.h.

References LC::Util::Either< L, R >::Right().

+ Here is the call graph for this function:

The documentation for this struct was generated from the following file: