sdedalus
- 2,042 total downloads
- last updated 8/4/2017
- Latest version: 1.0.0.45
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
- 1,560 total downloads
- last updated 8/4/2017
- Latest version: 1.0.0.45
DiscriminatedUnion AutoMap Helper.
- 1,467 total downloads
- last updated 8/4/2017
- Latest version: 1.0.0.45
DiscriminatedUnion Json Converter