returned for Tags:"sum-type"
Constants for (almost) all MIME types and method to determine MIME type from a file name. Contains just over 1000 mime types.
Generated from the Apache server mime.types file and the H5PB nginx mime.types file. Works similar to .NET's...
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.
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.
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.
MIME type handling utility for C#. Allows user to lookup mime type by filename, get file extensions for mime types. Includes all 600+ types and 800+ extensions defined by the Apache project.
T4DU is a T4 template that generates discriminated cases for your C# projects.
Creates discriminated unions in C#. Define a template for a discriminated union and the appropriate code will be generated.
Doc Type Grid Editor is an advanced grid editor for Umbraco 8
Protogame is a powerful cross-platform game engine for C#, built on top of MonoGame.
ASP.NET Core InputFormatter, OutputFormatter for Protobuf
Contains the attributes for the nuget package CSharpDiscriminatedUnion
Conversion between data types. Envisaged as a possible alternative to the Universal Type Converter http://www.codeproject.com/Articles/248440/Universal-Type-Converter, with the provision for default values, and some extra features.
DSL, Parser & Code Generator for Discriminated Union Types (Sum Types) in C#
This is a modified version of MonoGame that is used in Protogame.
ExhaustiveMatching.Analyzer adds exhaustive matching to C# switch statements.
Get compiler errors for missing cases in a switch statement. Mark which switch statements should have exhaustiveness checking by throwing an exception in the default case. Exhaustiveness checking works not just for enums,...
ASP.NET Core InputFormatter, OutputFormatter for IList CSV data
Transform any object-graph into a dynamic, composed dictionaries like structure, holding serializable values and type information.
Heterogeneous collections for F#. Using heterogeneous collections, it's possible to act on arbitrary sum and product types in a generic way.
31,016 total downloads
Implements an option type (Strilanc.Value.May<T>) that encourages usage based on pattern matching rather than ForceGetValue. Also includes utility methods for producing, consuming and transforming May<T>.
Note on null: May<T> treats null like any other value. May.NoValue is distinct from null, and...
TypeSupport provides tools to give you more information about .Net types and factories for working with objects, collections, enums and more.