Skip to content

Commit

Permalink
Merge pull request #1493 from SystemFw/Resource-makeFull
Browse files Browse the repository at this point in the history
Resource makeFull
  • Loading branch information
djspiewak authored Dec 18, 2020
2 parents 96cd0b3 + 698d61e commit 60a295d
Show file tree
Hide file tree
Showing 13 changed files with 885 additions and 699 deletions.
2 changes: 1 addition & 1 deletion core/shared/src/main/scala/cats/effect/LiftIO.scala
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ object LiftIO {
implicit protected def F1: Applicative[F]

def liftIO[A](ioa: IO[A]): Resource[F, A] =
Resource.liftF(F0.liftIO(ioa))
Resource.eval(F0.liftIO(ioa))
}
}
2 changes: 1 addition & 1 deletion core/shared/src/main/scala/cats/effect/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ package object effect {
type ParallelF[F[_], A] = cekernel.Par.ParallelF[F, A]
val ParallelF = cekernel.Par.ParallelF

type Resource[+F[_], +A] = cekernel.Resource[F, A]
type Resource[F[_], +A] = cekernel.Resource[F, A]
val Resource = cekernel.Resource

type OutcomeIO[A] = Outcome[IO, Throwable, A]
Expand Down
Loading

0 comments on commit 60a295d

Please sign in to comment.