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

Upgrade to cats-1.0.0-RC1 and more #80

Merged
merged 2 commits into from Nov 1, 2017

Conversation

rossabaker
Copy link
Member

Upgrades:

  • cats-1.0.0-RC1
  • discipline-0.8
  • simulacrum-0.11.0
  • scalatest-3.0.4
  • scalacheck-1.13.5

@@ -152,7 +152,7 @@ private[effect] trait SyncInstances {

// overwriting the pre-existing one, since flatMap is guaranteed stack-safe
def tailRecM[A, B](a: A)(f: A => StateT[F, S, Either[A, B]]): StateT[F, S, B] =
StateT.catsDataMonadForStateT[F, S].tailRecM(a)(f)
IndexedStateT.catsDataMonadForIndexedStateT[F, S].tailRecM(a)(f)
Copy link
Member Author

Choose a reason for hiding this comment

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

I have not spent any time whatsoever considering whether the instances can be generalized to IndexedStateT. This is minimal to make it compile.

Copy link
Member

Choose a reason for hiding this comment

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

I'm fine sticking with this for the time being. It seems likely that we'll be able to generalize a bit, but it'll take some looking.

@codecov-io
Copy link

Codecov Report

Merging #80 into master will not change coverage.
The diff coverage is 90%.

@@           Coverage Diff           @@
##           master      #80   +/-   ##
=======================================
  Coverage   84.95%   84.95%           
=======================================
  Files          18       18           
  Lines         359      359           
  Branches       23       23           
=======================================
  Hits          305      305           
  Misses         54       54

@mpilquist mpilquist self-requested a review November 1, 2017 01:07
@travisbrown
Copy link

👍, thanks! (I'll need this for catbird, which I'll need for iteratee.io, which I'll need for circe, etc.).

@rossabaker rossabaker merged commit 79a01b8 into typelevel:master Nov 1, 2017
@rossabaker rossabaker deleted the cats-1.0.0-RC1 branch November 1, 2017 03:04
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.

None yet

6 participants