2021-10-04
The makes
function takes in a number n and a list of numbers xs. It
returns the number of ways to make n by adding the first number in the
list to some other number later in the list.
makes :: Int -> [Int] -> Int
makes 12 [6,6] == 1
makes 11 [8,3,11,3] == 2
makes 2 [1,1,1,1] == 3
Continue to Chapter 4 Discussion IV.