Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fsprojects/FSharpPlus.CSharp

Open more actions menu

Repository files navigation

FSharpPlus.CSharp

Selected parts from FSharpX.Extras moved over to enable usage in C#.

The goal of this project is to expose selected F# classes to C#. There are some neat things about using Result, Option and Choice in your C#.


Usage

using FSharpPlusCSharp;
using Microsoft.FSharp.Core;

var a = 5.Some();
var b = 6.Some();
var sum = from x in a
          from y in b
          select x + y; // Some 11

var result = sum.ToResult("missing value");

Public APIs also include XML documentation comments so usage is rendered by standard .NET documentation tooling (for example IntelliSense).


Builds

MacOS/Linux Windows
Travis Badge Build status
Build History Build History

Nuget

Stable Prerelease
NuGet Badge NuGet Badge

Developing


Building

Make sure the following requirements are installed in your system:

> build.cmd // on windows
$ ./build.sh  // on unix

About

F#+C#  ❤️use some f# base types for great good

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.