mirror of
https://github.com/IBM/fp-go.git
synced 2025-11-23 22:14:53 +02:00
fix: implement idiomatic/ioresult
Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
@@ -137,7 +137,7 @@ func MonadApV[B, A, E any](sg S.Semigroup[E]) func(fab Either[E, func(a A) B], f
|
||||
//
|
||||
//go:inline
|
||||
func ApV[B, A, E any](sg S.Semigroup[E]) func(Either[E, A]) Operator[E, func(A) B, B] {
|
||||
apv := MonadApV[B, A, E](sg)
|
||||
apv := MonadApV[B, A](sg)
|
||||
return func(e Either[E, A]) Operator[E, func(A) B, B] {
|
||||
return F.Bind2nd(apv, e)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user