Skip to content

Commit

Permalink
Merge pull request #727 from polyadic/release-3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bash authored May 17, 2023
2 parents b533d47 + 11c0c46 commit d0520b0
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Funcky.Async/Funcky.Async.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<Description>Extends Funcky with support for IAsyncEnumerable and Tasks.</Description>
<PackageTags>Functional Async Monad Linq</PackageTags>
<Version>1.1.0</Version>
<Version>1.2.0</Version>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
Expand Down
4 changes: 4 additions & 0 deletions Funcky.Async/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,12 @@ Funcky.Monads.OptionValueTaskAwaiter<TItem>.IsCompleted.get -> bool
Funcky.Monads.OptionValueTaskAwaiter<TItem>.OnCompleted(System.Action! continuation) -> void
Funcky.Monads.OptionValueTaskAwaiter<TItem>.OptionValueTaskAwaiter() -> void
Funcky.Monads.ResultAsyncExtensions
static Funcky.AsyncFunctional.RetryAsync(System.Action! action, System.Func<System.Exception!, bool>! shouldRetry, Funcky.RetryPolicies.IRetryPolicy! retryPolicy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.ValueTask
static Funcky.AsyncFunctional.RetryAsync<TResult>(System.Func<System.Threading.Tasks.ValueTask<Funcky.Monads.Option<TResult>>>! producer, Funcky.RetryPolicies.IRetryPolicy! retryPolicy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.ValueTask<Funcky.Monads.Option<TResult>>
static Funcky.AsyncFunctional.RetryAsync<TResult>(System.Func<System.Threading.Tasks.ValueTask<Funcky.Monads.Option<TResult>>>! producer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.ValueTask<TResult>
static Funcky.AsyncFunctional.RetryAsync<TResult>(System.Func<TResult>! producer, System.Func<System.Exception!, bool>! shouldRetry, Funcky.RetryPolicies.IRetryPolicy! retryPolicy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.ValueTask<TResult>
static Funcky.AsyncFunctional.RetryAwaitAsync(System.Func<System.Threading.Tasks.ValueTask>! action, System.Func<System.Exception!, bool>! shouldRetry, Funcky.RetryPolicies.IRetryPolicy! retryPolicy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.ValueTask
static Funcky.AsyncFunctional.RetryAwaitAsync<TResult>(System.Func<System.Threading.Tasks.ValueTask<TResult>>! producer, System.Func<System.Exception!, bool>! shouldRetry, Funcky.RetryPolicies.IRetryPolicy! retryPolicy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.ValueTask<TResult>
static Funcky.AsyncSequence.Concat<TSource>(params System.Collections.Generic.IAsyncEnumerable<TSource>![]! sources) -> System.Collections.Generic.IAsyncEnumerable<TSource>!
static Funcky.AsyncSequence.Concat<TSource>(System.Collections.Generic.IAsyncEnumerable<System.Collections.Generic.IAsyncEnumerable<TSource>!>! sources) -> System.Collections.Generic.IAsyncEnumerable<TSource>!
static Funcky.AsyncSequence.Concat<TSource>(System.Collections.Generic.IAsyncEnumerable<System.Collections.Generic.IEnumerable<TSource>!>! sources) -> System.Collections.Generic.IAsyncEnumerable<TSource>!
Expand Down
4 changes: 0 additions & 4 deletions Funcky.Async/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#nullable enable
static Funcky.AsyncFunctional.RetryAsync(System.Action! action, System.Func<System.Exception!, bool>! shouldRetry, Funcky.RetryPolicies.IRetryPolicy! retryPolicy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.ValueTask
static Funcky.AsyncFunctional.RetryAsync<TResult>(System.Func<TResult>! producer, System.Func<System.Exception!, bool>! shouldRetry, Funcky.RetryPolicies.IRetryPolicy! retryPolicy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.ValueTask<TResult>
static Funcky.AsyncFunctional.RetryAwaitAsync(System.Func<System.Threading.Tasks.ValueTask>! action, System.Func<System.Exception!, bool>! shouldRetry, Funcky.RetryPolicies.IRetryPolicy! retryPolicy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.ValueTask
static Funcky.AsyncFunctional.RetryAwaitAsync<TResult>(System.Func<System.Threading.Tasks.ValueTask<TResult>>! producer, System.Func<System.Exception!, bool>! shouldRetry, Funcky.RetryPolicies.IRetryPolicy! retryPolicy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.ValueTask<TResult>
2 changes: 1 addition & 1 deletion Funcky/Funcky.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Product>Funcky</Product>
<Description>Funcky is a functional C# library</Description>
<PackageTags>Functional Monad Linq</PackageTags>
<VersionPrefix>3.1.0</VersionPrefix>
<VersionPrefix>3.2.0</VersionPrefix>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down
21 changes: 21 additions & 0 deletions Funcky/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Funcky.Extensions.EnumerableExtensions
Funcky.Extensions.FuncExtensions
Funcky.Extensions.HttpHeadersExtensions
Funcky.Extensions.HttpHeadersNonValidatedExtensions
Funcky.Extensions.ImmutableListExtensions
Funcky.Extensions.ListExtensions
Funcky.Extensions.ParseExtensions
Funcky.Extensions.Partitions
Funcky.Extensions.Partitions<TSource>
Expand Down Expand Up @@ -89,6 +91,7 @@ Funcky.Monads.Option<TItem>.AndThen<TResult>(System.Func<TItem, Funcky.Monads.Op
Funcky.Monads.Option<TItem>.AndThen<TResult>(System.Func<TItem, TResult>! selector) -> Funcky.Monads.Option<TResult>
Funcky.Monads.Option<TItem>.CompareTo(Funcky.Monads.Option<TItem> other) -> int
Funcky.Monads.Option<TItem>.CompareTo(object? obj) -> int
Funcky.Monads.Option<TItem>.Count.get -> int
Funcky.Monads.Option<TItem>.Equals(Funcky.Monads.Option<TItem> other) -> bool
Funcky.Monads.Option<TItem>.GetOrElse(System.Func<TItem>! fallback) -> TItem
Funcky.Monads.Option<TItem>.GetOrElse(TItem fallback) -> TItem
Expand All @@ -102,6 +105,7 @@ Funcky.Monads.Option<TItem>.Select<TResult>(System.Func<TItem, TResult>! selecto
Funcky.Monads.Option<TItem>.SelectMany<TOption, TResult>(System.Func<TItem, Funcky.Monads.Option<TOption>>! selector, System.Func<TItem, TOption, TResult>! resultSelector) -> Funcky.Monads.Option<TResult>
Funcky.Monads.Option<TItem>.SelectMany<TResult>(System.Func<TItem, Funcky.Monads.Option<TResult>>! selector) -> Funcky.Monads.Option<TResult>
Funcky.Monads.Option<TItem>.Switch(System.Action! none, System.Action<TItem>! some) -> void
Funcky.Monads.Option<TItem>.this[int index].get -> TItem
Funcky.Monads.Option<TItem>.ToEnumerable() -> System.Collections.Generic.IEnumerable<TItem>!
Funcky.Monads.Option<TItem>.TryGetValue(out TItem? item) -> bool
Funcky.Monads.Option<TItem>.Where(System.Func<TItem, bool>! predicate) -> Funcky.Monads.Option<TItem>
Expand Down Expand Up @@ -257,6 +261,8 @@ static Funcky.Extensions.EnumerableExtensions.LastOrNone<TSource>(this System.Co
static Funcky.Extensions.EnumerableExtensions.LastOrNone<TSource>(this System.Collections.Generic.IEnumerable<TSource>! source, System.Func<TSource, bool>! predicate) -> Funcky.Monads.Option<TSource>
static Funcky.Extensions.EnumerableExtensions.Materialize<TSource, TMaterialization>(this System.Collections.Generic.IEnumerable<TSource>! source, System.Func<System.Collections.Generic.IEnumerable<TSource>!, TMaterialization>! materializer) -> System.Collections.Generic.IReadOnlyCollection<TSource>!
static Funcky.Extensions.EnumerableExtensions.Materialize<TSource>(this System.Collections.Generic.IEnumerable<TSource>! source) -> System.Collections.Generic.IReadOnlyCollection<TSource>!
static Funcky.Extensions.EnumerableExtensions.MaxByOrNone<TSource, TKey>(this System.Collections.Generic.IEnumerable<TSource>! source, System.Func<TSource, TKey>! keySelector) -> Funcky.Monads.Option<TSource>
static Funcky.Extensions.EnumerableExtensions.MaxByOrNone<TSource, TKey>(this System.Collections.Generic.IEnumerable<TSource>! source, System.Func<TSource, TKey>! keySelector, System.Collections.Generic.IComparer<TKey>! comparer) -> Funcky.Monads.Option<TSource>
static Funcky.Extensions.EnumerableExtensions.MaxOrNone<TSource, TResult>(this System.Collections.Generic.IEnumerable<TSource>! source, System.Func<TSource, Funcky.Monads.Option<TResult>>! selector) -> Funcky.Monads.Option<TResult>
static Funcky.Extensions.EnumerableExtensions.MaxOrNone<TSource, TResult>(this System.Collections.Generic.IEnumerable<TSource>! source, System.Func<TSource, TResult>! selector) -> Funcky.Monads.Option<TResult>
static Funcky.Extensions.EnumerableExtensions.MaxOrNone<TSource>(this System.Collections.Generic.IEnumerable<Funcky.Monads.Option<TSource>>! source) -> Funcky.Monads.Option<TSource>
Expand All @@ -266,6 +272,8 @@ static Funcky.Extensions.EnumerableExtensions.Merge<TSource>(this System.Collect
static Funcky.Extensions.EnumerableExtensions.Merge<TSource>(this System.Collections.Generic.IEnumerable<TSource>! source1, System.Collections.Generic.IEnumerable<TSource>! source2, Funcky.Monads.Option<System.Collections.Generic.IComparer<TSource>!> comparer = default(Funcky.Monads.Option<System.Collections.Generic.IComparer<TSource>!>)) -> System.Collections.Generic.IEnumerable<TSource>!
static Funcky.Extensions.EnumerableExtensions.Merge<TSource>(this System.Collections.Generic.IEnumerable<TSource>! source1, System.Collections.Generic.IEnumerable<TSource>! source2, System.Collections.Generic.IEnumerable<TSource>! source3, Funcky.Monads.Option<System.Collections.Generic.IComparer<TSource>!> comparer = default(Funcky.Monads.Option<System.Collections.Generic.IComparer<TSource>!>)) -> System.Collections.Generic.IEnumerable<TSource>!
static Funcky.Extensions.EnumerableExtensions.Merge<TSource>(this System.Collections.Generic.IEnumerable<TSource>! source1, System.Collections.Generic.IEnumerable<TSource>! source2, System.Collections.Generic.IEnumerable<TSource>! source3, System.Collections.Generic.IEnumerable<TSource>! source4, Funcky.Monads.Option<System.Collections.Generic.IComparer<TSource>!> comparer = default(Funcky.Monads.Option<System.Collections.Generic.IComparer<TSource>!>)) -> System.Collections.Generic.IEnumerable<TSource>!
static Funcky.Extensions.EnumerableExtensions.MinByOrNone<TSource, TKey>(this System.Collections.Generic.IEnumerable<TSource>! source, System.Func<TSource, TKey>! keySelector) -> Funcky.Monads.Option<TSource>
static Funcky.Extensions.EnumerableExtensions.MinByOrNone<TSource, TKey>(this System.Collections.Generic.IEnumerable<TSource>! source, System.Func<TSource, TKey>! keySelector, System.Collections.Generic.IComparer<TKey>! comparer) -> Funcky.Monads.Option<TSource>
static Funcky.Extensions.EnumerableExtensions.MinOrNone<TSource, TResult>(this System.Collections.Generic.IEnumerable<TSource>! source, System.Func<TSource, Funcky.Monads.Option<TResult>>! selector) -> Funcky.Monads.Option<TResult>
static Funcky.Extensions.EnumerableExtensions.MinOrNone<TSource, TResult>(this System.Collections.Generic.IEnumerable<TSource>! source, System.Func<TSource, TResult>! selector) -> Funcky.Monads.Option<TResult>
static Funcky.Extensions.EnumerableExtensions.MinOrNone<TSource>(this System.Collections.Generic.IEnumerable<Funcky.Monads.Option<TSource>>! source) -> Funcky.Monads.Option<TSource>
Expand Down Expand Up @@ -338,6 +346,17 @@ static Funcky.Extensions.FuncExtensions.Uncurry<T1, T2, T3, TResult>(this System
static Funcky.Extensions.FuncExtensions.Uncurry<T1, T2, TResult>(this System.Func<T1, System.Func<T2, TResult>!>! function) -> System.Func<T1, T2, TResult>!
static Funcky.Extensions.HttpHeadersExtensions.GetValuesOrNone(this System.Net.Http.Headers.HttpHeaders! headers, string! name) -> Funcky.Monads.Option<System.Collections.Generic.IEnumerable<string!>!>
static Funcky.Extensions.HttpHeadersNonValidatedExtensions.GetValuesOrNone(this System.Net.Http.Headers.HttpHeadersNonValidated headers, string! headerName) -> Funcky.Monads.Option<System.Net.Http.Headers.HeaderStringValues>
static Funcky.Extensions.ImmutableListExtensions.IndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.IndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, int startIndex) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.IndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, int startIndex, int count) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.IndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, int startIndex, int count, System.Collections.Generic.IEqualityComparer<TItem>? equalityComparer) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.IndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, System.Collections.Generic.IEqualityComparer<TItem>? equalityComparer) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.LastIndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.LastIndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, int startIndex) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.LastIndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, int startIndex, int count) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.LastIndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, int startIndex, int count, System.Collections.Generic.IEqualityComparer<TItem>? equalityComparer) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.LastIndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, System.Collections.Generic.IEqualityComparer<TItem>? equalityComparer) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ListExtensions.IndexOfOrNone<TValue>(this System.Collections.Generic.IList<TValue>! list, TValue value) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ParseExtensions.ParseAuthenticationHeaderValueOrNone(this string? candidate) -> Funcky.Monads.Option<System.Net.Http.Headers.AuthenticationHeaderValue!>
static Funcky.Extensions.ParseExtensions.ParseBigIntegerOrNone(this string? candidate) -> Funcky.Monads.Option<System.Numerics.BigInteger>
static Funcky.Extensions.ParseExtensions.ParseBigIntegerOrNone(this string? candidate, System.Globalization.NumberStyles style, System.IFormatProvider? provider) -> Funcky.Monads.Option<System.Numerics.BigInteger>
Expand Down Expand Up @@ -623,8 +642,10 @@ static Funcky.Functional.NoOperation<T1, T2, T3>(T1 ω1, T2 ω2, T3 ω3) -> void
static Funcky.Functional.NoOperation<T1, T2>(T1 ω1, T2 ω2) -> void
static Funcky.Functional.NoOperation<T1>(T1 ω1) -> void
static Funcky.Functional.Not<T>(System.Func<T, bool>! predicate) -> System.Func<T, bool>!
static Funcky.Functional.Retry(System.Action! action, System.Func<System.Exception!, bool>! shouldRetry, Funcky.RetryPolicies.IRetryPolicy! retryPolicy) -> void
static Funcky.Functional.Retry<TResult>(System.Func<Funcky.Monads.Option<TResult>>! producer) -> TResult
static Funcky.Functional.Retry<TResult>(System.Func<Funcky.Monads.Option<TResult>>! producer, Funcky.RetryPolicies.IRetryPolicy! retryPolicy) -> Funcky.Monads.Option<TResult>
static Funcky.Functional.Retry<TResult>(System.Func<TResult>! producer, System.Func<System.Exception!, bool>! shouldRetry, Funcky.RetryPolicies.IRetryPolicy! retryPolicy) -> TResult
static Funcky.Functional.True() -> bool
static Funcky.Functional.True<T1, T2, T3, T4>(T1 ω1, T2 ω2, T3 ω3, T4 ω4) -> bool
static Funcky.Functional.True<T1, T2, T3>(T1 ω1, T2 ω2, T3 ω3) -> bool
Expand Down
21 changes: 0 additions & 21 deletions Funcky/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1 @@
#nullable enable
Funcky.Extensions.ImmutableListExtensions
Funcky.Extensions.ListExtensions
Funcky.Monads.Option<TItem>.Count.get -> int
Funcky.Monads.Option<TItem>.this[int index].get -> TItem
static Funcky.Extensions.EnumerableExtensions.MaxByOrNone<TSource, TKey>(this System.Collections.Generic.IEnumerable<TSource>! source, System.Func<TSource, TKey>! keySelector) -> Funcky.Monads.Option<TSource>
static Funcky.Extensions.EnumerableExtensions.MaxByOrNone<TSource, TKey>(this System.Collections.Generic.IEnumerable<TSource>! source, System.Func<TSource, TKey>! keySelector, System.Collections.Generic.IComparer<TKey>! comparer) -> Funcky.Monads.Option<TSource>
static Funcky.Extensions.EnumerableExtensions.MinByOrNone<TSource, TKey>(this System.Collections.Generic.IEnumerable<TSource>! source, System.Func<TSource, TKey>! keySelector) -> Funcky.Monads.Option<TSource>
static Funcky.Extensions.EnumerableExtensions.MinByOrNone<TSource, TKey>(this System.Collections.Generic.IEnumerable<TSource>! source, System.Func<TSource, TKey>! keySelector, System.Collections.Generic.IComparer<TKey>! comparer) -> Funcky.Monads.Option<TSource>
static Funcky.Extensions.ImmutableListExtensions.IndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.IndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, int startIndex) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.IndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, int startIndex, int count) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.IndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, int startIndex, int count, System.Collections.Generic.IEqualityComparer<TItem>? equalityComparer) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.IndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, System.Collections.Generic.IEqualityComparer<TItem>? equalityComparer) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.LastIndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.LastIndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, int startIndex) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.LastIndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, int startIndex, int count) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.LastIndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, int startIndex, int count, System.Collections.Generic.IEqualityComparer<TItem>? equalityComparer) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ImmutableListExtensions.LastIndexOfOrNone<TItem>(this System.Collections.Immutable.IImmutableList<TItem>! list, TItem item, System.Collections.Generic.IEqualityComparer<TItem>? equalityComparer) -> Funcky.Monads.Option<int>
static Funcky.Extensions.ListExtensions.IndexOfOrNone<TValue>(this System.Collections.Generic.IList<TValue>! list, TValue value) -> Funcky.Monads.Option<int>
static Funcky.Functional.Retry(System.Action! action, System.Func<System.Exception!, bool>! shouldRetry, Funcky.RetryPolicies.IRetryPolicy! retryPolicy) -> void
static Funcky.Functional.Retry<TResult>(System.Func<TResult>! producer, System.Func<System.Exception!, bool>! shouldRetry, Funcky.RetryPolicies.IRetryPolicy! retryPolicy) -> TResult
Loading

0 comments on commit d0520b0

Please sign in to comment.