fsprojects/FSharpx.Extras

Result extensions

wallymathieu opened this issue · 0 comments

Description

It would be nice to have Error handling with Result. Perhaps even c# extensions.

Expected behavior

            var a = FSharpResult<int, string>.NewOk(1);
            var c = a.Match(i => 0, _ => 1);
            Assert.AreEqual(0, c);