Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ContextShift.apply in the tutorial #489

Merged
merged 1 commit into from
Apr 9, 2019
Merged

Conversation

jooohn
Copy link

@jooohn jooohn commented Feb 16, 2019

Hi, I'm new to Cats Effect, and tried the tutorial. This document is great, but I was a bit confused why the conventional apply[F[_]] isn't used to obtain implicit ContextShift[F] in the codes. I found that there wasn't the apply[F[_]] method for ContextShift at version 1.0.0, but we have it now (v1.2.0). It would be more readable if we use apply[F[_]] to obtain implicit value!

@codecov-io
Copy link

Codecov Report

Merging #489 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #489   +/-   ##
=======================================
  Coverage   89.81%   89.81%           
=======================================
  Files          70       70           
  Lines        2043     2043           
  Branches      213      213           
=======================================
  Hits         1835     1835           
  Misses        208      208

Copy link
Member

@rossabaker rossabaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. 👍

@rossabaker rossabaker merged commit f85e32b into typelevel:master Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants