-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from pfpack/release/v1.99.0-preview.2.0.0
release/v2.0.0-preview.1.0.1
- Loading branch information
Showing
208 changed files
with
3,507 additions
and
1,307 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# PrimeFuncPack Core.Result | ||
|
||
PrimeFuncPack Core.Result is a core library for .NET consisting of Result monad targeted for use in functional programming. | ||
The Core.Result is shipped as a part of PrimeFuncPack Core - a functional programming framework for .NET | ||
|
||
PrimeFuncPack Core is a functional programming pack for .NET consisting of the fundamentals: | ||
- Optional and Result monads, Failure type, Tagged Union, and Unit type; | ||
- Functional interfaces (Single Abstract Method interfaces); | ||
- as well as extensions such as the Optional Linq, the SAM interfaces factories, etc. | ||
|
||
The Pack supports both asynchronous and synchronous programming models. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# PrimeFuncPack Core.TaggedUnion | ||
|
||
PrimeFuncPack Core.TaggedUnion is a core library for .NET consisting of Tagged Union targeted for use in functional programming. | ||
The Core.TaggedUnion is shipped as a part of PrimeFuncPack Core - a functional programming framework for .NET | ||
|
||
PrimeFuncPack Core is a functional programming pack for .NET consisting of the fundamentals: | ||
- Optional and Result monads, Failure type, Tagged Union, and Unit type; | ||
- Functional interfaces (Single Abstract Method interfaces); | ||
- as well as extensions such as the Optional Linq, the SAM interfaces factories, etc. | ||
|
||
The Pack supports both asynchronous and synchronous programming models. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# PrimeFuncPack Core.Taggeds | ||
|
||
PrimeFuncPack Core.Taggeds is a core pack for .NET consisting of fundamental tagged types targeted for use in functional programming: Optional and Result monads, Tagged Union, as well as the convert extensions. | ||
The Core.Taggeds is shipped as a part of PrimeFuncPack Core - a functional programming framework for .NET | ||
|
||
PrimeFuncPack Core is a functional programming pack for .NET consisting of the fundamentals: | ||
- Optional and Result monads, Failure type, Tagged Union, and Unit type; | ||
- Functional interfaces (Single Abstract Method interfaces); | ||
- as well as extensions such as the Optional Linq, the SAM interfaces factories, etc. | ||
|
||
The Pack supports both asynchronous and synchronous programming models. |
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
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
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
15 changes: 15 additions & 0 deletions
15
src/core-taggeds-failure/Failure/Failure.T/Inner/Failure.T.InnerMapFailureCode.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System.Runtime.CompilerServices; | ||
|
||
namespace System; | ||
|
||
partial struct Failure<TFailureCode> | ||
{ | ||
[MethodImpl(MethodImplOptions.AggressiveInlining)] | ||
private Failure<TResultFailureCode> InnerMapFailureCode<TResultFailureCode>( | ||
Func<TFailureCode, TResultFailureCode> mapFailureCode) | ||
where TResultFailureCode : struct | ||
=> | ||
new( | ||
failureCode: mapFailureCode.Invoke(FailureCode), | ||
failureMessage: FailureMessage); | ||
} |
File renamed without changes.
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
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
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
5 changes: 3 additions & 2 deletions
5
src/core-taggeds-optional/Optional/Absent.T/Absent.T.Comparison.cs
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
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
2 changes: 2 additions & 0 deletions
2
src/core-taggeds-optional/Optional/Absent.T/Absent.T.ToOptional.Explicit.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#pragma warning disable CA1822 // Mark members as static | ||
|
||
namespace System; | ||
|
||
partial struct Absent<T> | ||
|
6 changes: 4 additions & 2 deletions
6
src/core-taggeds-optional/Optional/Absent.T/Absent.T.ToString.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
namespace System; | ||
using static System.FormattableString; | ||
|
||
namespace System; | ||
|
||
partial struct Absent<T> | ||
{ | ||
public override string ToString() | ||
=> | ||
InternalToString<T>.Absent(); | ||
Invariant($"Absent[{typeof(T)}]:()"); | ||
} |
6 changes: 0 additions & 6 deletions
6
src/core-taggeds-optional/Optional/InternalToString/InternalToString.InnerAbsentString.cs
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
src/core-taggeds-optional/Optional/InternalToString/InternalToString.InnerFormat.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.