DavidArno / SuccincT

Discriminated unions, pattern matching and partial applications for C#
MIT License
266 stars 15 forks source link

Restructure pattern matchers to use/support new ValueTuples #16

Closed DavidArno closed 7 years ago

DavidArno commented 7 years ago

The various pattern matchers currently use tuples internally. Modify them to use the new syntactic/value tuples.

Additionally, added type-specific matchers to support pattern matching on (T1, T2) through (T1, T2, T3, T4).

DavidArno commented 7 years ago

Adding breaking change label as the ITupleMatchable types will be changed to return a value tuple, rather than the old regular tuple as part of this change.

DavidArno commented 7 years ago

Included in the v3.0.0 release.