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

Bracket instance for Kleisli #236

Merged
merged 1 commit into from
May 21, 2018
Merged

Bracket instance for Kleisli #236

merged 1 commit into from
May 21, 2018

Conversation

durban
Copy link
Contributor

@durban durban commented May 20, 2018

This is a first step towards fixing #216: adds a Bracket instance for Kleisli.

@codecov-io
Copy link

Codecov Report

Merging #236 into master will increase coverage by 0.29%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #236      +/-   ##
==========================================
+ Coverage   87.81%   88.11%   +0.29%     
==========================================
  Files          60       60              
  Lines        1494     1498       +4     
  Branches      148      150       +2     
==========================================
+ Hits         1312     1320       +8     
+ Misses        182      178       -4

@alexandru
Copy link
Member

Looks good.

Question: if you don't override all of those methods in Sync, does it still pass the laws of Sync?

@durban
Copy link
Contributor Author

durban commented May 20, 2018

@alexandru It seems to. (Maybe because of typelevel/cats/pull/2185?)

@alexandru
Copy link
Member

That's good. Just asking as we need to be aware in case we break coherence.

@alexandru alexandru merged commit d74d5fb into typelevel:master May 21, 2018
@alexandru alexandru added this to the 1.0.0-RC2 milestone May 23, 2018
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.

4 participants