Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: SonarQube
name: Build and analyse with SonarQube

on:
push:
Expand All @@ -13,6 +13,8 @@ jobs:
build:
name: Build and analyze
runs-on: windows-latest
permissions:
contents: read

steps:
- name: Set up JDK 17
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
env:
ProjectName: 'AStar.Dev.Functional.Extensions'

Expand Down
20 changes: 20 additions & 0 deletions AStar.Dev.Functional.Extensions.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,25 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{D1A87C44-FB0
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{0A5D570A-ACDC-429C-A9EA-9E8D9DA7774C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{16259E77-6EBB-4B17-94EF-AF149059D5D8}"
ProjectSection(SolutionItems) = preProject
Readme.md = Readme.md
Readme-result.md = Readme-result.md
Readme-option.md = Readme-option.md
blog-post.md = blog-post.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{211253BB-7DA6-4078-8105-61B7A58ABB35}"
ProjectSection(SolutionItems) = preProject
docs\advanced-usage-option.md = docs\advanced-usage-option.md
docs\advanced-usage.md = docs\advanced-usage.md
docs\basic-usage.md = docs\basic-usage.md
docs\core-concepts.md = docs\core-concepts.md
docs\error-handling-patterns.md = docs\error-handling-patterns.md
docs\method-reference.md = docs\method-reference.md
docs\testing.md = docs\testing.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -35,5 +54,6 @@ Global
{2C3EC910-77D3-475C-A9EE-E8F9F9C8C43C} = {267BE110-D583-4557-80D5-0D9E80A05542}
{46743FC5-9AAD-46A0-BD96-B2EEA6CE9E23} = {D1A87C44-FB04-49D8-8C34-C6CD33944612}
{CD5D55C2-C6D1-4E28-93FD-1A60118403CE} = {0A5D570A-ACDC-429C-A9EA-9E8D9DA7774C}
{211253BB-7DA6-4078-8105-61B7A58ABB35} = {16259E77-6EBB-4B17-94EF-AF149059D5D8}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,10 @@ patterns in C#.

### 🏗️ Structure

encapsulates either: `Option<T>`
`Option<T>` encapsulates either:

- ✅ `Some(T)` — a present value
- ❌ — the absence of a value `None`
t
t
t
t
- ❌ `None` — the absence of a value

``` csharp
// Create a Some option
Expand Down Expand Up @@ -229,3 +225,5 @@ public Option<BookReservation> ReserveBookWithLogging(string isbn, int quantity)
});
}
```

Want more? Some additional documentation can be found [here](docs/advanced-usage-option.md) - focusing on async method usage.
File renamed without changes.
2 changes: 2 additions & 0 deletions ...AStar.Dev.Functional.Extensions/Readme.md → Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Full details can be found [here](Readme-result.md)

Full details can be found [here](Readme-option.md)

In addition, there is a [blog post](blog-post.md) that, depending on when you see this, should have been published to this new-fangled t'interweb-thing...

## Build and analysis

### GitHub build
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageId>AStar.Dev.Functional.Extensions</PackageId>
<Version>0.3.0-alpha</Version>
<Version>0.3.1-alpha</Version>
<PackageReadmeFile>Readme.md</PackageReadmeFile>
<Authors>Jason</Authors>
<Authors>AStar Development, Jason Barden</Authors>
<Company>AStar Development</Company>
<Description>F#-inspired Result type with functional combinators, async support, and LINQ integration.</Description>
<PackageTags>result functional monad async linq</PackageTags>
Expand Down
Loading