We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
investigate on
def dup(s: String, n: Int = 2) = s*n dup("fish") // "fishfish" List("fish","cow").map(dup) // Error
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-5191?orig=1 Reporter: @lrytz
Sorry, something went wrong.
@retronym said: I don't think this is worth the additional spec complexity; List("fish","cow").map(dup(_)) isn't much longer.
List("fish","cow").map(dup(_))
Lukas, feel free to reopen if you feel strongly otherwise.
lrytz
No branches or pull requests
investigate on
The text was updated successfully, but these errors were encountered: