22 packages returned for discriminated unions

.Net Discriminated Unions
  • 1,867 total downloads
  • last updated 8/8/2014
  • Latest version: 0.7.2
This package provides Discriminated Unions for C#. This is the old backage. The new package is FunctionalSharp.DiscriminatedUnions.
OneOf - Easy Discriminated Unions for c#
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.
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 below are... More information
Portable library for easy to use F#-like Discriminated Unions in C#. Implicitly casts objects into OneOf instances, then use .Match, .Switch, .MatchWhen, .SwitchWhen extensions to do pattern matching. Designed as an partial drop in replacement for OneOf - will require some changes to matching... More information
  • 5,127 total downloads
  • last updated 3/30/2017
  • Latest version: 0.18.4
Bit-level operations, including unions, endian encoding/decoding and portable binary readers and writers.
CodeJam .NET Library
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
  • 974 total downloads
  • last updated 2/5/2016
  • Latest version: 0.0.4
  • F# FSharp MongoDB
A library of serializers to work with MongoDB for FSharp. Supports options, discriminated unions, records and fsharp specific collections.
JsonF#
  • 1,647 total downloads
  • last updated 10/24/2016
  • Latest version: 0.7.2
  • F# FSharp json
A simple JSON parser targeted specifically for F#. The parsed data is based on F# discriminated unions, and support construction of F# record types.