diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-04-03 22:21:15 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-11-10 18:03:22 +0100 |
commit | d5a5fec4802f98ccb93a692285112382fd6f34cb (patch) | |
tree | 0b2f98aead2836fb73776ae7fd53019b21ee00c1 | |
parent | 476583c90a47cad62f992ab0b845ebf2897cb47d (diff) | |
download | coursera-d5a5fec4802f98ccb93a692285112382fd6f34cb.zip coursera-d5a5fec4802f98ccb93a692285112382fd6f34cb.tar.gz |
Scala : ooops
-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") |