Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 652 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 652 Bytes

FX

Functional extensions for C# shamelessly inspired (/ripped off) of ideas in ploeh's asynchronous-injection

Maybe

var mInt = Maybe<int>.Some(12); //Some of 12
var mNone = Maybe<int>.None(); //None of Int

Either

var eitherIntOrString = Either<int, string>.Left(12); //Left of 12
var eitherIntOrString = Either<int,string>.Right("string"); //Right of "hello"

Build Status