chore(deps): Bump the nuget-dependencies group with 6 updates #379
+188
−188
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.
Updated FSharp.SystemTextJson from 1.3.13 to 1.4.36.
Release notes
Sourced from FSharp.SystemTextJson's releases.
1.4.36
1.4
WithOverrides, allow usingtypedefofto override generic types.WithOverrideMembersoption to add JsonNameAttributes to given record fields or union cases.JsonNameAttribute'sPropertyTargetsso that it can be applied to cases with arguments when compiling with F# 9.Commits viewable in compare view.
Updated JsonSchema.Net from 8.0.4 to 8.0.5.
Release notes
Sourced from JsonSchema.Net's releases.
No release notes found for this version range.
Commits viewable in compare view.
Updated LanguageExt.Core from 5.0.0-beta-65 to 5.0.0-beta-77.
Release notes
Sourced from LanguageExt.Core's releases.
5.0.0-beta-77
The core
SourceT<M>has improvements:|operator which takes the left-hand stream and right-hand stream and merges them into a single stream can now handle errors emitted from either stream and propagate it up through the reducer. YourMtype must supportFallible<M>for this to work.StreamT.lift(Channel)to use the newMonad.Recurfunctionality - this removes any risk of stack-overflows with your bespokeMtypes (assuming you've implementedMonad.Recurcorrectly.5.0.0-beta-69
This question was raised where a
StreamTfold was not terminating. The issue was slightly deeper than I initially thought.SourceTtook a different approach to terminating a reducer thanSource.SourceTusedM.Pureas a terminating value whereasSourcehas a dedicated structure,Reduced, which has aContinueflag, indicating whether any reducer is complete or not.I thought
M.Purewas enough to terminate a stream, but it wasn't sufficient, I made a mistake on that one. So, I've updated all of theSourceTreducers to now returnK<M, Reduced<A>>which allows streams likeSourceT.foreverto spot when a 'downstream' reducer has ended the stream and can therefore terminate, rather than continue forever heating up the processor.StreamTis still completely without any form of decent test coverage, so still be cautious using it.There are now four reducing methods on
StreamTwhich allow for different return values in thereducerfunction:S- just the pure reduced valueK<M, A>- the lifted reduced valueReduced<S>- the pure reduced value with theContinueflag (in case you want to use this in other reducers)K<M ,Reduced<S>>- the lifted reduced value with theContinueflag (in case you want to use this in other reducers)5.0.0-beta-67
The support for generalised monad tail-recursion release that I did in the early hours of Christmas Day needed some support functions, as also requested here, so I have added the following functions to the
Monadmodule:Monad.foreverMonad.replicatentimes, collecting the results in anIterable<A>Monad.accumWhiletrue, collecting the results in anIterable<A>Monad.accumWhileMtrue, collecting the results inMonad.accumUntiltrue, collecting the results in anIterable<A>Monad.accumUntilMtrue, collecting the results in anIterable<A>The functions themselves are quite good demonstrations of
Monad.recur, so I have pasted the source-code below just FYI: