Portable library for easy to use F#-like Discriminated Unions in C#. Implicitly casts objects into OneOf instances, then use .Match extension to do pattern matching. Designed as a partial drop in replacement for OneOf.
A core library to enable functional programming in C#
Data Types:
- Identity
- Maybe
- Result
- Either
- Validation
- Reader
- Writer
- IO
- State
- Tagged
- Union
- Coyoneda
- Yoneda
- Continuation
- Redux: Store, Reducer, Middleware and Action (e.g. Tagged)
Prelude (Standard Library)
- Syntactic...
More information
Defines [Derive] (DeriveAttribute) in global:: namespace; used to provide basic implementations for some interfaces.
See project site for more details.