From 5f07a1750b188740597caa03a5118918964c6a6d Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Tue, 28 May 2019 09:50:36 +0200 Subject: [PATCH] Add documentation --- library/src-3.x/dotty/DottyPredef.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/src-3.x/dotty/DottyPredef.scala b/library/src-3.x/dotty/DottyPredef.scala index fb490fee51d7..4936faef36ea 100644 --- a/library/src-3.x/dotty/DottyPredef.scala +++ b/library/src-3.x/dotty/DottyPredef.scala @@ -41,6 +41,8 @@ object DottyPredef { /** Creates a tupled version of this function: instead of N arguments, * it accepts a single [[scala.Tuple]] argument. * + * This is a generalization of [[scala.FunctionN.tupled]] that work on functions of any arity + * * @tparam F the function type * @tparam Args the tuple type with the same types as the function arguments of F * @tparam R the return type of F