summaryrefslogtreecommitdiffstats
path: root/Scala/sandbox/curry.scala
diff options
context:
space:
mode:
Diffstat (limited to 'Scala/sandbox/curry.scala')
-rw-r--r--Scala/sandbox/curry.scala2
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")