Installation
NuGet Package
Install Bogoware.Monads via NuGet:
dotnet add package Bogoware.MonadsInstall-Package Bogoware.MonadsSupported Platforms
| Platform | Version |
|---|---|
| .NET Standard | 2.1 |
| .NET | 8.0, 9.0, 10.0 |
Basic Usage
-
Add the namespace to your code:
using Bogoware.Monads; -
You’re now ready to use
Result<T>andMaybe<T>in your projects.
Next Steps
Result\ Monad Learn how to model operations that can fail
Maybe\ Monad Learn how to handle optional values safely
API Reference Explore the complete API documentation