From 489e8c6837ea98fbe93a3d7bfb812ca7ff6bd503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Casper=20Lehmann-Str=C3=B8m?= <6682833+casperlehmann@users.noreply.github.com> Date: Sat, 29 May 2021 17:07:21 +0200 Subject: [PATCH] Correcting language introducing partial --- src/main/scala/stdlib/PartiallyAppliedFunctions.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/stdlib/PartiallyAppliedFunctions.scala b/src/main/scala/stdlib/PartiallyAppliedFunctions.scala index 7565f45b..88b017b5 100644 --- a/src/main/scala/stdlib/PartiallyAppliedFunctions.scala +++ b/src/main/scala/stdlib/PartiallyAppliedFunctions.scala @@ -28,7 +28,7 @@ object PartiallyAppliedFunctions with org.scalaexercises.definitions.Section { /** - * A partially applied function is a function that you do not apply any or all the arguments, creating another function. This partially applied function doesn't apply any arguments. + * A partially applied function is the result of applying only a subset (or none) of a function's expected arguments and returning a new function that takes the remaining expected function arguments. In the example below, the partially applied function hasn't had apply any arguments applied to it. */ def partiallyAppliedPartiallyAppliedFunctions(res0: Int, res1: Int) = { def sum(a: Int, b: Int, c: Int) = a + b + c