Skip to content

Instantly share code, notes, and snippets.

@raveeolee
raveeolee / Exceptional.cs
Created June 22, 2017 10:35 — forked from bradphelan/Exceptional.cs
Exceptional Monad in C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reactive.Linq;
namespace ReactiveUI.Utils
{
// From http://stackoverflow.com/questions/10772727/exception-or-either-monad-in-c-sharp