23 packages returned for discriminated unions
Easy Discriminated Unions for c#
- 7,143 total downloads
- last updated 9/28/2017
- Latest version: 2.1.108
F# style discriminated unions or C#, using a custom type OneOf<T0, ... Tn> which holds a single value and has a .Match(...) method on it for exhaustive matching. Simple but powerful.
- 192 total downloads
- last updated 8/4/2017
- Latest version: 220.127.116.11
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
- 3,871 total downloads
- last updated 6/27/2017
- Latest version: 3.0.1
Succinc<T> is a .NET library that adds a number of functional features to C#: * Discriminated unions, * Pattern matching, * Partial applications, * "Implicitly" typed lambdas, * The ability to treat void methods as Unit functions, * Replacements for TryParse methods that return an Option<T> (or... More information
- 825 total downloads
- last updated 11/11/2017
- Latest version: 1.0.0
Portable library for easy to use F#-like Discriminated Unions in C#. Implicitly casts objects into OneOf instances, then use .Match extension to do pattern matching. Designed as a partial drop in replacement for OneOf.
- 4,261 total downloads
- last updated 10/2/2017
- Latest version: 2.0.0-beta1
CodeJam is a set of handy reusable .NET components that can simplify your daily work and save your time when you copy and paste your favorite helper methods and classes from one project to another.
Nameless Interactive FSharp MongoDB Serializers
- 1,041 total downloads
- last updated 2/5/2016
- Latest version: 0.0.4
A library of serializers to work with MongoDB for FSharp. Supports options, discriminated unions, records and fsharp specific collections.