Either

Tango.Modules.EitherModule

Tango.Modules.Either.Linq

This module provides several methods to works with Either<TLeft, TRight> type.

Many methods has an Left and Right version, these versions are used to apply the function only to one of possible types. This variants will be mentioned in each method page.

When possible, the examples will use the extension method format, all of them can be replaced by module method without change any behavior.

WARNING

Some methods has different parameter order in extension and module versions. It occurs because the static methods in modules are optimized to partial application rather than extension methods that wants to improve usability to make a similar System.Linq sintax.

Methods

Last updated