-
Notifications
You must be signed in to change notification settings - Fork 14
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
Deprecation story for auto-tupling #496
Comments
Ref:
|
@adriaanm is this something we need to make sure happens for RC1? |
I think we can figure this (and any other deprecation strategy) out early in the 2.13.x cycle. |
I would just like to point out that once you have HList-like tuples in Scala 3, having auto-tupling only for arguments which have a I don't think it could still cause confusion or weird runtime errors either, since auto-tupling will only happen when a tuple is already expected. The reason that right now not much breaks between removing auto-tupling for
Without auto-tupling I think I would actually prefer (syntax-wise) shapeless hlists over built-in tuples-as-hlists. To me |
new plan at scala/scala3#4311 (comment) |
Ref scala/scala-dev#496 Ref scala/scala3#4311 (comment) Using the `compileTimeError` annotation, this removes the multi-parameter, vararg variants of `+` and `-` operators from the collections, and instructs the users to migrate to `++` and `--` instead. This is part of an effort to remove the ambiguity between tuple literal and parameter list when in an infixed operator notation.
Ref scala/scala-dev#496 Ref scala/scala3#4311 (comment) Using the `compileTimeError` annotation, this removes the multi-parameter, vararg variants of `+` and `-` operators from the collections, and instructs the users to migrate to `++` and `--` instead. This is part of an effort to remove the ambiguity between tuple literal and parameter list when in an infixed operator notation.
Ref scala/scala-dev#496 Ref scala/scala3#4311 (comment) Using the `compileTimeError` annotation, this removes the multi-parameter, vararg variants of `+` and `-` operators from the collections, and instructs the users to migrate to `++` and `--` instead. This is part of an effort to remove the ambiguity between tuple literal and parameter list when in an infixed operator notation.
Out of scope for Scala 2 |
Well, perhaps not out of scope. I just added some remarks at scala/bug#3583 (comment) . Let's leave this one closed and let discussion continue there. |
(to flesh out)
The text was updated successfully, but these errors were encountered: