Table of Contents

Namespace LfrlAnvil.Functional

Classes

Either

Contains static methods related to Either<T1, T2> type.

Erratic

Creates instances of Erratic<T> type.

Lambda

Contains various methods related to delegates and expression trees.

Lambda<T>

Contains generic delegate members.

Maybe

Creates instances of Maybe<T> type.

Mutation

Creates instances of Mutation<T> type.

TypeCast

Contains static methods related to TypeCast<TSource, TDestination> type.

Structs

Either<T1, T2>

Represents a generic pair of exclusive values.

Erratic<T>

Represents a generic result of an action that may throw an error.

Maybe<T>

Represents a generic optional value.

Mutation<T>

Represents a generic tuple of (old, new) values.

Nil

Represents a lack of value.

PartialEither<T1>

An intermediate object used for creating Either<T1, T2> instances.

PartialTypeCast<TSource>

An intermediate object used for creating TypeCast<TSource, TDestination> instances.

TypeCast<TSource, TDestination>

Represents a generic result of a type cast.

Interfaces

IErratic

Represents a type-erased result of an action that may throw an error.

ITypeCast<TDestination>

Represents a type-erased result of a type cast.