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
(pasting tutorial code into Scala 2.12.7 SBT console)
scala> :paste // Entering paste mode (ctrl-D to finish) def fetchThree[F[_] : Concurrent]: Fetch[F, (String, String, String)] = (fetchString(1), fetchString(2), fetchString(3)).tupled // Exiting paste mode, now interpreting. <pastie>:43: error: value tupled is not a member of (fetch.Fetch[F,String], fetch.Fetch[F,String], fetch.Fetch[F,String]) (fetchString(1), fetchString(2), fetchString(3)).tupled
Not sure how this is supposed to work. Is it related to the ordering of things? The first paragraph defining the Trait seems to be out of place too.
The text was updated successfully, but these errors were encountered:
Perhaps missing the import. The tuple syntax comes from cats.syntax.apply._
tuple
cats.syntax.apply._
Sorry, something went wrong.
No branches or pull requests
(pasting tutorial code into Scala 2.12.7 SBT console)
Not sure how this is supposed to work. Is it related to the ordering of things? The first paragraph defining the Trait seems to be out of place too.
The text was updated successfully, but these errors were encountered: