sum :: [Int] -> Int
sum  =  error "could not reify specification, suggestion: conjureFromSpec"

sum :: [Int] -> Int
-- testing 4 combinations of argument values
-- pruning with 14/25 rules
-- 2 candidates of size 1
-- 1 candidates of size 2
-- 1 candidates of size 3
-- 2 candidates of size 4
-- 7 candidates of size 5
-- tested 11 candidates
sum []  =  0
sum (x:xs)  =  x + sum xs

sum :: [Int] -> Int
-- pruning with 14/25 rules
-- 2 candidates of size 1
-- 5 candidates of size 2
-- 3 candidates of size 3
-- 10 candidates of size 4
-- 18 candidates of size 5
-- tested 33 candidates
sum []  =  0
sum (x:xs)  =  x + sum xs

