Skip to content

Commit

Permalink
Merge pull request #400 from joan38/clock-summoner
Browse files Browse the repository at this point in the history
Add Clock summoner
  • Loading branch information
rossabaker authored Oct 26, 2018
2 parents 5c00bdf + 7dc581c commit 84696fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/shared/src/main/scala/cats/effect/Clock.scala
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ trait Clock[F[_]] {
}

object Clock {
def apply[F[_]](implicit ev: Clock[F]) = ev

/**
* Provides Clock instance for any `F` that has `Sync` defined
*/
Expand Down

0 comments on commit 84696fb

Please sign in to comment.