From 43afdaa8f37822d94486931525c264d8704f57c3 Mon Sep 17 00:00:00 2001 From: jean-acsas <40265407+jean-acsas@users.noreply.github.com> Date: Sat, 1 Dec 2018 10:20:41 +0100 Subject: [PATCH] Suggested additional hint. Ran into the problem as described in the hint. --- src/main/scala/stdlib/HigherOrderFunctions.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/scala/stdlib/HigherOrderFunctions.scala b/src/main/scala/stdlib/HigherOrderFunctions.scala index c3a83cfd..7283a1f4 100644 --- a/src/main/scala/stdlib/HigherOrderFunctions.scala +++ b/src/main/scala/stdlib/HigherOrderFunctions.scala @@ -143,7 +143,8 @@ object HigherOrderFunctions /** Function taking another function as a parameter. Helps in composing functions. * - * Hint: a map method applies the function to each element of a list. + * Hint 1: a map method applies the function to each element of a list. + * Hint 2: if you assume your solution has syntax issues, consider applying functions to lists using the Scala command line. */ def functionAsParameterHigherOrderFunctions( res0: List[String],