summaryrefslogtreecommitdiffstats
path: root/Scala/sandbox/curry.scala
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-04-03 22:21:15 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-11-10 18:03:22 +0100
commitd5a5fec4802f98ccb93a692285112382fd6f34cb (patch)
tree0b2f98aead2836fb73776ae7fd53019b21ee00c1 /Scala/sandbox/curry.scala
parent476583c90a47cad62f992ab0b845ebf2897cb47d (diff)
downloadcoursera-d5a5fec4802f98ccb93a692285112382fd6f34cb.zip
coursera-d5a5fec4802f98ccb93a692285112382fd6f34cb.tar.gz
Scala : ooops
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")