From 3c64fe1a3a4624026fdc3087b52dfcd408fe4231 Mon Sep 17 00:00:00 2001 From: Myoungjin JEON Date: Sat, 24 Oct 2020 22:51:20 +1100 Subject: [ch-083/jeongoon] Haskell typo again @.@ --- challenge-083/jeongoon/haskell/ch-2.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit