-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 a bunch of classes final and a few private #622
Conversation
Probably best to default to `final` and `private` until we run into a reason to expose these for extension.
Current coverage is
|
Looks good to me. 👍 |
implicit def prodApplicative[F[_], G[_]](implicit FF: Applicative[F], GG: Applicative[G]): Applicative[Lambda[X => Prod[F, G, X]]] = new ProdApplicative[F, G] { | ||
def F: Applicative[F] = FF | ||
def G: Applicative[G] = GG | ||
} | ||
} | ||
|
||
sealed abstract class ProdInstance3 extends ProdInstance4 { | ||
implicit def prodApply[F[_], G[_]](implicit FF: Apply[F], GG: Apply[G]): Apply[Lambda[X => Prod[F, G, X]]] = new ProdApply[F, G] { | ||
private[data] sealed abstract class ProdInstance3 extends ProdInstance4 { implicit def prodApply[F[_], G[_]](implicit FF: Apply[F], GG: Apply[G]): Apply[Lambda[X => Prod[F, G, X]]] = new ProdApply[F, G] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super nitpicky but do you mind re-inserting the line-break here for the sake of consistency and the diff?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I didn't mean to do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm weird. This is on two lines for me locally. Am I hitting some bizarre LF/CR/CRLF inconsistency?
👍 from me. |
Make a bunch of classes final and a few private
Probably best to default to
final
andprivate
until we run into areason to expose these for extension.