diff options
-rw-r--r-- | Scala/sandbox/curry.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Scala/sandbox/curry.scala b/Scala/sandbox/curry.scala index 910de62..21f287a 100644 --- a/Scala/sandbox/curry.scala +++ b/Scala/sandbox/curry.scala @@ -18,7 +18,7 @@ object Curry { } def sumInts = sumCurry(x => x) - def sumCubes = sumCurry(x => x * x) + def sumCubes = sumCurry(x => x * x * x) def run = { println("Curry") |