Rust-style implementation of the "Maybe" monad (In Rust, this monad is called Option) into C#
- Copy maybe.cs file into your project
- Put this at the top of your code
using MaybeSharp;
- Start using MaybeSharp in your code! (if you don't know how, the test.cs file shows example usages)
- Copy maybe.cs and maybe-dotnet.cs file into your project
- Put this at the top of your code
using MaybeSharp;
using MaybeDotnet;
- Start using MaybeSharp + MaybeDotnet in your code!