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

Make cats.data.AndThen public #2297

Merged
merged 7 commits into from
Jul 3, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rename instance class according to convention.
kailuowang authored Jun 28, 2018
commit b92baa5d5c2fc201c93e48f5373b4f8f5b34fcb5
4 changes: 2 additions & 2 deletions core/src/main/scala/cats/data/AndThen.scala
Original file line number Diff line number Diff line change
@@ -168,7 +168,7 @@ object AndThen extends AndThenInstances1 {
private final val fusionMaxStackDepth = 127
}

private[data] abstract class AndThenInstances1 extends AndThenInstances0 {
private[data] abstract class AndThenInstances0 extends AndThenInstances1 {
/**
* [[cats.Monad]] instance for [[AndThen]].
*/
@@ -235,7 +235,7 @@ private[data] abstract class AndThenInstances1 extends AndThenInstances0 {
}
}

private[data] abstract class AndThenInstances0 {
private[data] abstract class AndThenInstances1 {
/**
* [[cats.Contravariant]] instance for [[AndThen]].
*/