Summary

Welcome to

Introdução

Highlights

Uses pattern matching with Option and Either values

Option<int> optionalValue = 10;
int value = optionalValue.Match(
        methodWhenSome: number => number,
        methodWhenNone: () => 0);

Either<bool, int> eitherValue = 10;
int value = eitherValue.Match(
        methodWhenRight: number => number,
        methodWhenLeft: boolean => 0);

Continuation flow using Then and Catch

ContinuationModule.Resolve(5)
            .Then(value => value + 4)
            .Then(value => 
                  {
                    if( value % 2 == 0)
                        return value + 5;
                    else
                        return "ERROR";
                  })
            .Then(value => value + 10)
            .Catch(fail => $"{fail} catched");

Continuation flow with pipeline operator!

Powerful High Order Functions!

Uses Simple Functions as Reduction

Uses Curry and Partial Application!

Uses QuickDelegateCast feature!

It is completely FREE!!

The Tango is completely free! The code and the documentation as well, you can download your book bellow.

Book cover

Download your documentation book:

Summary

You can find all topics here!

Getting Started

Installation

Fundamentals

Functional

Operations

Types

Modules

Extensions

Tango

Last updated

Was this helpful?