Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking changes in v3.0.0 #35

Closed
DavidArno opened this issue May 25, 2017 · 1 comment
Closed

Breaking changes in v3.0.0 #35

DavidArno opened this issue May 25, 2017 · 1 comment

Comments

@DavidArno
Copy link
Owner

The following changes have been made to v3.0.0, which may break your existing code:

  1. Union<,>.Creator, Union<,,>.Creator and Union<,,,>.Creator methods now return an instance of IUnionCreator<...>, rather than UnionCreator<...>. If you are referring to your creators via a var, then no change should be needed. But any explicit references to Creator classes will have to be changed to the equivalent interface.
  2. The ITupleMatchable types have been changed to return a value tuple, rather than the older style tuples used previously. See Restructure pattern matchers to use/support new ValueTuples for details.
  3. public static ConsResult<T> Cons<T>(this IEnumerable<T> collection) has been removed and replaced with a deconstructor. See Make use of C# 7 deconstruct feature to "super charge" IEnumerable cons support for details.
@DavidArno
Copy link
Owner Author

Closing this as v3.0.1 has now been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant