We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f67f300 + ab64f15 commit 22fcff1Copy full SHA for 22fcff1
tests/pos/i8321.scala
@@ -0,0 +1,9 @@
1
+
2
+object Test:
3
+ inline def concat[A <: Tuple, B <: Tuple](
4
+ a: Option[A],
5
+ b: Option[B]
6
+ ): Option[Tuple.Concat[A, B]] =
7
+ a.zip(b).map(_ ++ _)
8
9
+ concat(Some(1, 2), Some(3, 4))
0 commit comments