Introduction

Seja bem-vindo à

Introdução

Destaques

Utilize pattern matching com valores opcionais e valores Either

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);

Crie processos contínuos utilizando Then e Catch

Continuation<string, int> continuation = 5;

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

Crie processos contínuos utilizando pipeline!

Utilize Poderosas Funções de alta ordem!

Utilize operações para redução!

Utilize Curry e Aplicação Parcial!

Aproveite o QuickDelegateCast!

Totalmente Gratuita

A Tango é completamente gratuita, tanto a biblioteca quanto sua documentação, além disso, você pode baixar seu PDF para ler offline!

Capa do livro

Faça download do livro da documentação :

Índice

Aqui você encontra todos os tópicos disponíveis nesta documentação.

Começando

Instalação

Conceitos

Funcional

Operações

Tipos

Módulos

Extensões

Tango

Last updated

Was this helpful?