mirror of
https://github.com/IBM/fp-go.git
synced 2025-06-23 00:27:49 +02:00
12 lines
396 B
Go
12 lines
396 B
Go
![]() |
// Package readereither implements a specialization of the Reader monad assuming a golang context as the context of the monad and a standard golang error
|
||
|
package readereither
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
RE "github.com/ibm/fp-go/readereither"
|
||
|
)
|
||
|
|
||
|
// ReaderEither is a specialization of the Reader monad for the typical golang scenario
|
||
|
type ReaderEither[A any] RE.ReaderEither[context.Context, error, A]
|