FsCombinators 0.11.5

dotnet add package FsCombinators --version 0.11.5
                    
NuGet\Install-Package FsCombinators -Version 0.11.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FsCombinators" Version="0.11.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FsCombinators" Version="0.11.5" />
                    
Directory.Packages.props
<PackageReference Include="FsCombinators" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FsCombinators --version 0.11.5
                    
#r "nuget: FsCombinators, 0.11.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FsCombinators@0.11.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FsCombinators&version=0.11.5
                    
Install as a Cake Addin
#tool nuget:?package=FsCombinators&version=0.11.5
                    
Install as a Cake Tool

Purpose

The modules in this project facilitate the use of common patterns in functional programming in the F# programming language. The modules are detailed below. Implementations are short and often naive; refer to the documentation and/or source of each module for further details.

Core

From sources such as SKI combinatory logic, the B,C,K,W system and Raymond Smullyan's "To Mock a Mockingbird". In this module, Smullyan's naming is mostly used, as those names are easy to search for.

BooleanExtensions

Feel free to suggest important boolean combinators that would be widely used and not yet available elsewhere. Generally I find it difficult to name such combinators well enough to improve readability rather than hinder understanding.

Exckit (Exceptions Kit)

This is an attempt to make it easier to deal with libraries that throw lots of Exceptions, especially in cases that could be argued to be non-exceptional. It uses a categorisation proposed here: https://ericlippert.com/2008/09/10/vexing-exceptions/.

ExtraTypes

This offers an alternative ternary form of the Result type, named IgnorableResult. The practical basis for this type is scenarios in which there may be a failure, but the failure is not considered a problem. Some potential uses for the Ignore case:

  • a warning might be issued;
  • there might just be no effect in a case where an effect was intended but not necessary.

This module also provides a mechanism to group a collection of IgnorableResult values, as described in groupResultGeneric (which has a reference implementation for the Seq type).

OptionExtensions

This was an early pre-cursor to the more generally useful Exckit module. It makes a lazy assumption about the nature of exceptions.

ResultExtensions

Similar to OptionExtensions, but with a domain of type Result.

SeqExtensions

It's common to need to apply some predicate over a Seq of elements, or a Seq of predicates over some value, or even both together. This module provides some tools to do that without rewriting the same logic all over the place. It also provides a pre-order traversal of a graph, with certain assumptions.

StringExtensions

While the F# String type does provide a range of idiomatic functions for working with text, there's plenty left to rewrite frequently using the underlying types. This module does its bit to narrow that gap - it's still wide!

Tuple2

There's potential for more specialisation here, but there are existing libraries that take this seriously and offer a comprehensive feature set. Rather than reproduce all that, this just does what I needed for my purposes.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.11.5 129 7/11/2025
0.11.4 106 7/11/2025
0.11.3 111 7/11/2025
0.11.2 111 7/11/2025