Table of Contents

Method Seventh

Namespace
SodaFlow.Functional
Assembly
SodaFlow.Functional.dll

Seventh<T>(T)

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

public static Either.EitherSeventh<T> Seventh<T>(T value)

Parameters

value T

The value.

Returns

Either.EitherSeventh<T>

A marked value which changes implicitly into any either whose seventh 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 Seventh of the either.