Created
December 6, 2018 15:31
-
-
Save jproyo/1d91d9084541f825dfaadbf434dcf08b to your computer and use it in GitHub Desktop.
Add syntactic sugar to Cats Scala Type Classes combinators - Syntax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cats.syntax.apply._ | |
IO.shift *> task | |
// equivalent to | |
implicitly[ContextShift[IO]].shift *> task |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment