-
-
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
rename Prod / Coproduct to ProductK / CoproductK #1582
Comments
¿Could they be called |
I vote for |
@kailuowang Makes sense to me; should we add a ProductK and CoproductK (or at least just the CoproductK) to avoid fixing an arity? |
@edmundnoble sure, if there is need for them. Do you think they should go into 1.0.0-RC1 though? if not maybe we should create another issue for them? |
Seems that the opinion we got so far favors renaming to |
|
The problem is that we already have
scala.Product
andshapeless.Coproduct
and that means it is easy to get the wrong import.In addition, it is very unfortunate that
cats
andshapeless
(the foundations of this FP stack) should have a name conflict on something so simple.I understand that the
K
postfix is appropriate for a higher kinded thing as a workaround until scala/scala#5538 become ubiquitous. I supposeM
would also be appropriate?The text was updated successfully, but these errors were encountered: