87 packages returned for Tags:"\"Union"

Implementation of Discriminated Union and Pattern Matching in C#. string outputValue = x.Match<String>() .Case(c => c == "Test", v => "It's Test!") .Case(v => "It's Not Test!") .Else(() => "It's None!") or var x = new Union<string, int>(100); // the type annotations... More information
  • 538 total downloads
  • last updated 4/8/2015
  • Latest version: 1.0.1
My package description.
Discriminated Union (sum-type, co-product) from Algebraic Data Types (ADT) for C# which is memory efficient, supports one-line sub-typing and C# switch statement.
  • 787 total downloads
  • last updated 4/16/2019
  • Latest version: 0.0.6-beta01
Extension to FluentAssertions which improves the usage of Discriminated Unions against standard object assertions. Intened to be a base for other Specific DU assertions to build upon
  • 873 total downloads
  • last updated 11/22/2016
  • Latest version: 1.0.1
A small library for working with Discrimintate Unions in F#