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

Some Kleisli instance cleanup #2105

Merged
merged 1 commit into from
Dec 14, 2017

Conversation

ceedubs
Copy link
Contributor

@ceedubs ceedubs commented Dec 14, 2017

  • Remove an irrelevant and unused B type parameter on
    catsDataCommutativeMonadForKleisli.
  • Upgrade catsDataMonadForKleisliId from Monad to CommutativeMonad
    • Note that while I had to add a mima exception for this, I think that
      it should be 100% binary compatible since its a member of a sealed
      and private abstract class and returns a subtype of what it was
      before.
  • Add a CommutativeFlatMap instance for Kleisli
  • Add a couple of implicit resolution tests for Kleisli that were
    missing

- Remove an irrelevant and unused `B` type parameter on
`catsDataCommutativeMonadForKleisli`.
- Upgrade `catsDataMonadForKleisliId` from `Monad` to `CommutativeMonad`
  - Note that while I had to add a mima exception for this, I think that
  it should be 100% binary compatible since its a member of a `sealed`
  and `private` abstract class and returns a subtype of what it was
  before.
- Add a `CommutativeFlatMap` instance for `Kleisli`
- Add a couple of implicit resolution tests for Kleisli that were
missing
@kailuowang kailuowang added this to the 1.0.0 milestone Dec 14, 2017
@codecov-io
Copy link

codecov-io commented Dec 14, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@d9c3c5b). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2105   +/-   ##
=========================================
  Coverage          ?   94.79%           
=========================================
  Files             ?      325           
  Lines             ?     5494           
  Branches          ?      219           
=========================================
  Hits              ?     5208           
  Misses            ?      286           
  Partials          ?        0
Impacted Files Coverage Δ
core/src/main/scala/cats/data/Kleisli.scala 97.89% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d9c3c5b...d554d3f. Read the comment docs.

@kailuowang kailuowang merged commit 86caa7e into typelevel:master Dec 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants