Skip to content

Commit

Permalink
Switch to evalIMap
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherDavenport committed Dec 17, 2021
1 parent 7fbe2f7 commit 96a8b17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ object Cache {
def delete(k: K2): F[Unit] = c.delete(g(k))
}

def imapEval[F[_]: Monad, K, V1, V2](
def evalIMap[F[_]: Monad, K, V1, V2](
c: Cache[F, K, V1]
)(f: V1 => F[V2], g: V2 => V1): Cache[F, K, V2] =
new Cache[F, K, V2] {
Expand Down

0 comments on commit 96a8b17

Please sign in to comment.