1
0
mirror of https://github.com/IBM/fp-go.git synced 2025-11-23 22:14:53 +02:00
Files
fp-go/readerio/eq.go
Dr. Carsten Leue b25de3c7c3 doc: fix case
Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
2023-07-18 15:57:54 +02:00

12 lines
276 B
Go

package readerio
import (
EQ "github.com/IBM/fp-go/eq"
G "github.com/IBM/fp-go/readerio/generic"
)
// Eq implements the equals predicate for values contained in the IO monad
func Eq[R, A any](e EQ.Eq[A]) func(r R) EQ.Eq[ReaderIO[R, A]] {
return G.Eq[ReaderIO[R, A]](e)
}