Funx.Monad.Either.Right (funx v0.8.2)
View SourceRepresents the Right variant of the Either monad, used to model a success or valid result.
This module implements the following protocols:
Funx.Eq: Defines equality checks betweenRightand otherEithervalues.Funx.Foldable: Providesfold_l/3andfold_r/3to handle folding forRightvalues.Funx.Monad: Implements thebind/2,map/2, andap/2functions for monadic operations.Funx.Ord: Defines ordering logic forRightandLeftvalues.Funx.Tappable: Executes side effects on the contained value without modifying it.
The Right monad represents a valid result, and the contained value is propagated through operations.
Summary
Functions
Creates a new Right value.