sumAllDigits :: [ Int ] -> Int
sumAllDigits (x:xs)
|(x:xs) == [] = 0
|x >= 10 = sumDigits x + sumAllDigits xs
|x< 10 = x + sumAllDigits xs
REPORT:
*Recursion> sumAllDigits [22,33] *** 例外: Recursion.hs:(76,1)-(79,34): 関数 sumAllDigits の非網羅的なパターン