-
-
Notifications
You must be signed in to change notification settings - Fork 424
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
Version 5 of language-ext merging into main #1327
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Makes it more like a function A → B, rather than B → A - Added resource handling monads and transducers - Added bind operators so they can work with the IO monad
- LiftIO type for temporary lifting functions that then work with other monads
- First pass of catching for transducers, will change
- Avoids space leaks in recursive LINQ expressions
- New type called `Many` to reduce generics explosions - Extensions for Many - Prelude for Many - implicit conversion from Many to IO
- Supports actions
Modified TryT transformer to work with a lifted Try monad
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Language-ext is inching closer to a beta release for version
5.0.0
which is a huge departure from version4.*
. There are many breaking changes, so if you're hearing about this for the first time, it's worth looking at:I have now branched the latest source for
v4.*
frommain
into a branch calledv4-latest
.I will not be supporting
v4
any more -- I just don't have the bandwidth to build and supportv5
and supportv4
too. For those who are not happy with these changes or need to stay onv4
for longer, you can of course fork this repo and work from thev4-latest
branch, the library is MIT licensed, so you can do whatever you want with it.If that is too extreme and you would like to leverage
v5
going forward, but also miss the removed types, likeEitherAsync
, etc. Remember again, this is an MIT licensed project, just go toEitherAsync.cs
and copy'n'paste it into your project or a new repo - you may have to patch a few things up - but that can give you both old and new support.Moving the
v5
branch tomain
is symbolic more than anything else, there's still some ways to go to a full release, but it also means the changes are more visible to visitors of this repo.