Table of Contents

Method Eighth

Namespace
SodaFlow.Functional
Assembly
SodaFlow.Functional.dll

Eighth<T>(T)

Marks a value as belonging in the eighth position of an either.

public static Either.EitherEighth<T> Eighth<T>(T value)

Parameters

value T

The value.

Returns

Either.EitherEighth<T>

A marked value which changes implicitly into any either whose eighth type argument is T.

Type Parameters

T

The type of the value.

Remarks

This is what lets code give an either as a result or a value, with no name for all of its type arguments. The marked value carries only the position and the value, and the conversion at the assignment or the return gives the others. Where no such conversion is available, use the Eighth of the either.