aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyoungjin JEON <jeongoon@gmail.com>2020-10-24 22:51:20 +1100
committerMyoungjin JEON <jeongoon@gmail.com>2020-10-24 22:51:20 +1100
commit3c64fe1a3a4624026fdc3087b52dfcd408fe4231 (patch)
tree2799d4bdb04f14743747272f7e0cbb8b468a2ed3
parent13fe5923992d176a65cb3d388f2f0d057435e9ce (diff)
downloadperlweeklychallenge-club-3c64fe1a3a4624026fdc3087b52dfcd408fe4231.tar.gz
perlweeklychallenge-club-3c64fe1a3a4624026fdc3087b52dfcd408fe4231.tar.bz2
perlweeklychallenge-club-3c64fe1a3a4624026fdc3087b52dfcd408fe4231.zip
[ch-083/jeongoon] Haskell typo again @.@
-rw-r--r--challenge-083/jeongoon/haskell/ch-2.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-083/jeongoon/haskell/ch-2.hs b/challenge-083/jeongoon/haskell/ch-2.hs
index d9584ede0f..66b12b09c0 100644
--- a/challenge-083/jeongoon/haskell/ch-2.hs
+++ b/challenge-083/jeongoon/haskell/ch-2.hs
@@ -15,7 +15,7 @@ import Combinations (combinations)
answerFlipArray :: (Integral a) => [a] -> Int
answerFlipArray nums
- | totalSum == 1 = 0
+ | totalLen == 1 = 0
| otherwise = answerWith totalSum totalLen numCombis
where
totalSum = sum nums