Skip to content

Commit 7360481

Browse files
authored
Merge pull request #1 from pfpack/feature/func
core-func/release/v2.0.0-preview.1.0.1
2 parents bf35a76 + 42ffd82 commit 7360481

File tree

573 files changed

+82
-30189
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

573 files changed

+82
-30189
lines changed

.github/workflows/dotnet.yml

Lines changed: 3 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: .NET
22

33
on:
44
push:
5-
branches: [ master, dev, dev/*, feature/*, fix/*, release/* ]
5+
branches: [ main, dev, dev/*, feature/*, fix/*, release/* ]
66

77
pull_request:
8-
branches: [ master ]
8+
branches: [ main ]
99

1010
release:
1111
types: [ published ]
12-
branches: [ master ]
12+
branches: [ main ]
1313

1414
jobs:
1515
build:
@@ -32,23 +32,6 @@ jobs:
3232
- name: Add Local Nuget Source
3333
run: dotnet nuget add source ~/nuget
3434

35-
# Unit
36-
37-
- name: Restore Unit
38-
run: dotnet restore ./src/*/*/Unit.csproj
39-
40-
- name: Build Unit
41-
run: dotnet build ./src/*/*/Unit.csproj --no-restore -c Release
42-
43-
- name: Pack Unit
44-
run: dotnet pack ./src/*/*/Unit.csproj --no-restore -o ~/nuget -c Release
45-
46-
- name: Restore Unit.Tests
47-
run: dotnet restore ./src/*/*/Unit.Tests.csproj
48-
49-
- name: Test Unit.Tests
50-
run: dotnet test ./src/*/*/Unit.Tests.csproj --no-restore -c Release
51-
5235
# Func.Abstractions.Async
5336

5437
- name: Restore Func.Abstractions.Async
@@ -167,102 +150,6 @@ jobs:
167150
- name: Pack Func.Extensions
168151
run: dotnet pack ./src/*/*/Func.Extensions.csproj --no-restore -o ~/nuget -c Release
169152

170-
# Failure
171-
172-
- name: Restore Failure
173-
run: dotnet restore ./src/*/*/Failure.csproj
174-
175-
- name: Build Failure
176-
run: dotnet build ./src/*/*/Failure.csproj --no-restore -c Release
177-
178-
- name: Pack Failure
179-
run: dotnet pack ./src/*/*/Failure.csproj --no-restore -o ~/nuget -c Release
180-
181-
- name: Restore Failure.Tests
182-
run: dotnet restore ./src/*/*/Failure.Tests.csproj
183-
184-
- name: Test Failure.Tests
185-
run: dotnet test ./src/*/*/Failure.Tests.csproj --no-restore -c Release
186-
187-
# Optional
188-
189-
- name: Restore Optional
190-
run: dotnet restore ./src/*/*/Optional.csproj
191-
192-
- name: Build Optional
193-
run: dotnet build ./src/*/*/Optional.csproj --no-restore -c Release
194-
195-
- name: Pack Optional
196-
run: dotnet pack ./src/*/*/Optional.csproj --no-restore -o ~/nuget -c Release
197-
198-
- name: Restore Optional.Tests
199-
run: dotnet restore ./src/*/*/Optional.Tests.csproj
200-
201-
- name: Test Optional.Tests
202-
run: dotnet test ./src/*/*/Optional.Tests.csproj --no-restore -c Release
203-
204-
# TaggedUnion
205-
206-
- name: Restore TaggedUnion
207-
run: dotnet restore ./src/*/*/TaggedUnion.csproj
208-
209-
- name: Build TaggedUnion
210-
run: dotnet build ./src/*/*/TaggedUnion.csproj --no-restore -c Release
211-
212-
- name: Pack TaggedUnion
213-
run: dotnet pack ./src/*/*/TaggedUnion.csproj --no-restore -o ~/nuget -c Release
214-
215-
- name: Restore TaggedUnion.Tests
216-
run: dotnet restore ./src/*/*/TaggedUnion.Tests.csproj
217-
218-
- name: Test TaggedUnion.Tests
219-
run: dotnet test ./src/*/*/TaggedUnion.Tests.csproj --no-restore -c Release
220-
221-
# Result
222-
223-
- name: Restore Result
224-
run: dotnet restore ./src/*/*/Result.csproj
225-
226-
- name: Build Result
227-
run: dotnet build ./src/*/*/Result.csproj --no-restore -c Release
228-
229-
- name: Pack Result
230-
run: dotnet pack ./src/*/*/Result.csproj --no-restore -o ~/nuget -c Release
231-
232-
- name: Restore Result.Tests
233-
run: dotnet restore ./src/*/*/Result.Tests.csproj
234-
235-
- name: Test Result.Tests
236-
run: dotnet test ./src/*/*/Result.Tests.csproj --no-restore -c Release
237-
238-
# Taggeds
239-
240-
- name: Restore Taggeds
241-
run: dotnet restore ./src/*/*/Taggeds.csproj
242-
243-
- name: Build Taggeds
244-
run: dotnet build ./src/*/*/Taggeds.csproj --no-restore -c Release
245-
246-
- name: Pack Taggeds
247-
run: dotnet pack ./src/*/*/Taggeds.csproj --no-restore -o ~/nuget -c Release
248-
249-
- name: Restore Taggeds.Tests
250-
run: dotnet restore ./src/*/*/Taggeds.Tests.csproj
251-
252-
- name: Test Taggeds.Tests
253-
run: dotnet test ./src/*/*/Taggeds.Tests.csproj --no-restore -c Release
254-
255-
# Core
256-
257-
- name: Restore Core
258-
run: dotnet restore ./src/*/*/Core.csproj
259-
260-
- name: Build Core
261-
run: dotnet build ./src/*/*/Core.csproj --no-restore -c Release
262-
263-
- name: Pack Core
264-
run: dotnet pack ./src/*/*/Core.csproj --no-restore -o ~/nuget -c Release
265-
266153
# Push
267154

268155
- name: Push Packages

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ PublishScripts/
207207
*.nuget.targets
208208

209209
# Nuget personal access tokens and Credentials
210-
nuget.config
210+
# nuget.config
211211

212212
# Microsoft Azure Build Output
213213
csx/

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
# PrimeFuncPack Core - A Functional Programming Framework for .NET
1+
# PrimeFuncPack Core.Func
2+
3+
PrimeFuncPack Core.Func is a core library set for .NET consisting of functional interfaces (SAM interfaces) and the extensions targeted for use in functional programming.
4+
There are both asynchronous (Task and ValueTask based) and synchronous interfaces and the extensions in the set - IAsyncFunc/IAsyncValueFunc and IFunc.
5+
The Core.Func is shipped as a part of PrimeFuncPack Core - a functional programming framework for .NET
26

37
PrimeFuncPack Core is a functional programming pack for .NET consisting of the fundamentals:
48
- Optional and Result monads, Failure type, Tagged Union, and Unit type;
59
- Functional interfaces (Single Abstract Method interfaces);
6-
- as well as the useful extensions.
10+
- as well as extensions such as the Optional Linq, the SAM interfaces factories, etc.
711

812
The Pack supports both asynchronous and synchronous programming models.

docs/core-func-abs-async/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22

33
PrimeFuncPack Core.Func.Abstractions.Async is a core library for .NET consisting of IAsyncFunc asynchronous Task based functional interfaces (SAM interface) targeted for use in functional programming.
44
The Core.Func is shipped as a part of PrimeFuncPack Core - a functional programming framework for .NET
5+
6+
PrimeFuncPack Core is a functional programming pack for .NET consisting of the fundamentals:
7+
- Optional and Result monads, Failure type, Tagged Union, and Unit type;
8+
- Functional interfaces (Single Abstract Method interfaces);
9+
- as well as extensions such as the Optional Linq, the SAM interfaces factories, etc.
10+
11+
The Pack supports both asynchronous and synchronous programming models.

docs/core-func-abs-asyncvalue/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22

33
PrimeFuncPack Core.Func.Abstractions.AsyncValue is a core library for .NET consisting of IAsyncValueFunc asynchronous ValueTask based functional interfaces (SAM interface) targeted for use in functional programming.
44
The Core.Func is shipped as a part of PrimeFuncPack Core - a functional programming framework for .NET
5+
6+
PrimeFuncPack Core is a functional programming pack for .NET consisting of the fundamentals:
7+
- Optional and Result monads, Failure type, Tagged Union, and Unit type;
8+
- Functional interfaces (Single Abstract Method interfaces);
9+
- as well as extensions such as the Optional Linq, the SAM interfaces factories, etc.
10+
11+
The Pack supports both asynchronous and synchronous programming models.

docs/core-func-abs-sync/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22

33
PrimeFuncPack Core.Func.Abstractions.Sync is a core library for .NET consisting of IFunc synchronous functional interfaces (SAM interface) targeted for use in functional programming.
44
The Core.Func is shipped as a part of PrimeFuncPack Core - a functional programming framework for .NET
5+
6+
PrimeFuncPack Core is a functional programming pack for .NET consisting of the fundamentals:
7+
- Optional and Result monads, Failure type, Tagged Union, and Unit type;
8+
- Functional interfaces (Single Abstract Method interfaces);
9+
- as well as extensions such as the Optional Linq, the SAM interfaces factories, etc.
10+
11+
The Pack supports both asynchronous and synchronous programming models.

docs/core-func-abs/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22

33
PrimeFuncPack Core.Func.Abstractions is a core library for .NET consisting of functional interfaces (SAM interfaces) targeted for use in functional programming - IAsyncFunc/IAsyncValueFunc and IFunc, both asynchronous (Task and ValueTask based) and synchronous.
44
The Core.Func is shipped as a part of PrimeFuncPack Core - a functional programming framework for .NET
5+
6+
PrimeFuncPack Core is a functional programming pack for .NET consisting of the fundamentals:
7+
- Optional and Result monads, Failure type, Tagged Union, and Unit type;
8+
- Functional interfaces (Single Abstract Method interfaces);
9+
- as well as extensions such as the Optional Linq, the SAM interfaces factories, etc.
10+
11+
The Pack supports both asynchronous and synchronous programming models.

docs/core-func-ext-async/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22

33
PrimeFuncPack Core.Func.Extensions.Async is a core library for .NET consisting of extensions for IAsyncFunc asynchronous Task based functional interface (SAM interface) targeted for use in functional programming.
44
The Core.Func is shipped as a part of PrimeFuncPack Core - a functional programming framework for .NET
5+
6+
PrimeFuncPack Core is a functional programming pack for .NET consisting of the fundamentals:
7+
- Optional and Result monads, Failure type, Tagged Union, and Unit type;
8+
- Functional interfaces (Single Abstract Method interfaces);
9+
- as well as extensions such as the Optional Linq, the SAM interfaces factories, etc.
10+
11+
The Pack supports both asynchronous and synchronous programming models.

docs/core-func-ext-asyncvalue/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22

33
PrimeFuncPack Core.Func.Extensions.AsyncValue is a core library for .NET consisting of extensions for IAsyncValueFunc asynchronous ValueTask based functional interface (SAM interface) targeted for use in functional programming.
44
The Core.Func is shipped as a part of PrimeFuncPack Core - a functional programming framework for .NET
5+
6+
PrimeFuncPack Core is a functional programming pack for .NET consisting of the fundamentals:
7+
- Optional and Result monads, Failure type, Tagged Union, and Unit type;
8+
- Functional interfaces (Single Abstract Method interfaces);
9+
- as well as extensions such as the Optional Linq, the SAM interfaces factories, etc.
10+
11+
The Pack supports both asynchronous and synchronous programming models.

docs/core-func-ext-sync/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22

33
PrimeFuncPack Core.Func.Extensions.Sync is a core library for .NET consisting of extensions for IFunc synchronous functional interface (SAM interface) targeted for use in functional programming.
44
The Core.Func is shipped as a part of PrimeFuncPack Core - a functional programming framework for .NET
5+
6+
PrimeFuncPack Core is a functional programming pack for .NET consisting of the fundamentals:
7+
- Optional and Result monads, Failure type, Tagged Union, and Unit type;
8+
- Functional interfaces (Single Abstract Method interfaces);
9+
- as well as extensions such as the Optional Linq, the SAM interfaces factories, etc.
10+
11+
The Pack supports both asynchronous and synchronous programming models.

0 commit comments

Comments
 (0)