24 packages returned for discriminated unions
FunctionalSharp PatternMatching Discriminated unions
- 42 total downloads
- last updated 12/15/2017
- Latest version: 0.9.103
Provides additional types and methods allowing patternamtching to return discriminatedunions. You can now return different types with patternamtching;and return a discriminated union of these types.
Easy Discriminated Unions for c#
- 9,178 total downloads
- last updated 1/18/2018
- Latest version: 2.1.110
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.
- 236 total downloads
- last updated 8/4/2017
- Latest version: 188.8.131.52
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
- 4,790 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
- 1,017 total downloads
- last updated 11/27/2017
- Latest version: 184.108.40.206
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.
- 5,192 total downloads
- last updated 12/24/2017
- Latest version: 2.0.0-rc1
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,125 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.