Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →F# language-specific patterns, Railway-Oriented Programming, and Computation Expressions
91% 91%0 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 20 of 22 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Cross-references: fp-principles | fp-domain-modeling | pbt-dotnet
dotnet new console -lang F# -o OrderService && cd OrderService
dotnet new xunit -lang F# -o OrderService.Tests
dotnet add OrderService.Tests reference OrderService
dotnet add OrderService.Tests package FsCheck.Xunit
dotnet test
File order matters: F# compiles files top-to-bottom as listed in .fsproj. Types must be defined before use.
type PaymentMethod =
| CreditCard of cardNumber: string * expiryDate: string
| BankTransfer of accountNumber: string
| Cash
type Customer = {
CustomerId: CustomerId
CustomerName: CustomerName
CustomerEmail: EmailAddress
}
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.