Skip to content

Commit

Permalink
Merge pull request #354 from davenverse/evaliMap
Browse files Browse the repository at this point in the history
Switch to evalIMap
  • Loading branch information
ChristopherDavenport authored Dec 17, 2021
2 parents 7fbe2f7 + 96a8b17 commit b48d3bf
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 b48d3bf

Please sign in to comment.