fsprojects/FSharpx.Extras
49.0
Weak · 13 November 2026
5.5k
lines of production code
F#
primary language
8
measurements over time
What this system is
This system is the FSharpx.Extras library, a functional programming toolkit for the .NET platform that provides composable data types, monadic operators, and utility functions. It enhances C\# interoperability and supports structured data formatting, while maintaining comprehensive test coverage across multiple .NET versions.
Features
Add C\# interop helpers and functional utilities to FSharpx.Extras
The FSharpx.Extras library now includes a new CSharpCompat.fs module that provides extension methods to help the C\# compiler with Func and Action type inference, including conversions between Action/Func and F\# functions, and utility methods for Option types. Additionally, the update introduces functional programming utilities such as the Iteratee monad for stream processing, Lens combinators for data access, and a Pluralizer for English noun pluralization. The Prelude module is expanded with new functions like reraise' for exception handling, undefined for bottom values, and various parsing helpers for numeric and date types. The Enum module gains isDefined and toString helpers, while the IO module provides file system and text manipulation primitives. These changes enhance the library's support for functional programming patterns and C\# interoperability.
src/FSharpx.Extras · high confidence
Add structured formatting support for F\# types
The FSharpx.Text.StructuredFormat library is introduced, providing a structured formatting engine for F\# types. This includes the \Layout\ and \Joint\ types for representing formatted output, a \LayoutOps\ module with operators for combining layouts, and a \FormatOptions\ record to control formatting behavior. The library exposes functions like \any\_to\_string\ and \layout\_as\_string\ to convert any value to a human-readable structured string, enabling consistent and customizable display of F\# data structures.
src/FSharpx.Text.StructuredFormat · high confidence
Introduce FAKE-based build system for FSharpx.Extras
The project now uses a new FAKE build script (build.fs) to automate the build, test, and release process. This script defines targets for cleaning, building the library and tests, publishing to .NET Standard 2.0, running unit tests, and generating/publishing NuGet packages. It also includes logic for versioning and Git operations for releases.
build · high confidence
New computation expression builders for functional types
Added computation expression builders and monadic operators for \Async\, \Choice\, \Continuation\, \Enumerator\, \Nullable\, \Option\, \Reader\, \Result\, \State\, \Task\, and \Undo\ types. These provide a consistent, composable way to work with these types using standard monadic operators (e.g., \\>\>=\, \\<\*\>\). The \Validation\ module is updated to use the new \Result\ type instead of \Choice\ for error handling, and the \Task\ module restores \Task\ computation expression support as internal components.
src/FSharpx.Extras/ComputationExpressions · high confidence
Removals
Removal of F\# compiler and build infrastructure files
The XML documentation files for F\# Interactive settings and the F\# Core library have been deleted, along with the F\# interactive session configuration and the MSBuild targets file that defined the standard build process for F\# projects. These removals indicate that the bundled F\# compiler, its associated build tools, and related configuration files are no longer included in this directory.
lib/FSharp · high confidence
Removal of legacy monad implementations
The repository has removed the legacy implementations of the Continuation, Maybe, Reader, State, and Writer monads, along with their associated unit tests. This cleanup eliminates deprecated functional programming constructs from the FSharpx.Extras library, simplifying the codebase by removing these specific monad modules and their test suites.
src · high confidence
Behavioural changes
Modernize build system and project structure for FSharpx.Extras
The project has been modernized by migrating from the legacy FAKE-based build script (build.fsx) to a .NET SDK-based build using dotnet tooling, as evidenced by the new build.sh, build.cmd, and global.json files. The solution file has been updated to FSharpx.Extras.sln, reflecting the project's renaming from FSharp.Monad/FSharpx.Core to FSharpx.Extras. Additionally, the repository now includes a .gitattributes file to standardize line endings across different operating systems, and the .gitignore has been expanded to cover modern IDE and build artifacts.
(repo-wide) · high confidence
Removed FAKE tooling assets and documentation templates
The \tools/FAKE\ directory has been cleaned of legacy assets, including license files (\DocuLicense.txt\, \License.txt\), configuration files (\FAKE.exe.config\), XML documentation files (\FSharp.Core.xml\, \Fake.Git.XML\, \Fake.SQL.XML\, \FakeLib.XML\), and various Spark templates for documentation generation. This change removes the static resources and metadata files associated with the FAKE build tool within the \tools\ directory.
tools · high confidence
Test coverage
Added C\# unit tests for FSharpx functional types; Added comprehensive test coverage for core functional programming abstractions.
Dependencies
Migrate build and test projects to .NET 8/9/10 and modernize project structure
The build system and test suites have been updated to target .NET 8, 9, and 10. The legacy FSharp.Monad project has been removed and replaced with the modernized FSharpx.Extras library, which now uses SDK-style project files and targets .NET Standard 2.0. Additionally, the build configuration now uses Paket for dependency management, and test projects have been restructured to support multi-targeting across .NET 4.8, 8, 9, and 10.0.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 49 → 49 (+0.2)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.
Lenses
- Code Health 69 → 69 (+0.1)
- Architecture 56 → 56 (-0.2)
- Maturity 39 → 39 (+0.0)
- Readiness 46 → 46 (-0.3)
- Security 95 → 93 (-1.7)
- Performance 88 → 100 (+12.0)
Resolved (5)
- Coverage not measured — no coverage collector is wired up
- Duplicated block (9 lines × 2) (src/FSharpx.Extras/ComputationExpressions/Validation.fs)
- Inconsistent casing for private fields in the Person class. Some fields use camelCase (e.g., name, gender, clothes, sobriety, age) while others use PascalCase (e.g., Age). This suggests a mix of conventions or a copy-paste error where some fields were not updated to match the class's primary convention.
- misleading comment (tests/FSharpx.CSharpTests/AsyncTests.cs)
- misleading comment (tests/FSharpx.CSharpTests/ValidationExample.cs)
Architecture
- Unchanged — 0 containers · 3 contexts · 1 edges
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
fsprojects/FSharpx.Extras was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 4a0378a90a8f2a7b362958a7165fbf4b4828c385 — the exact code this score is about.
- Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.61+preprod-b8b1a43ae4c3.