-- this is an example that demonstrates nesting function calls 

-- SHOULD WE DO AN EXAMPLE WHERE THE ABOVE IS COMPOSED INSTEAD? TRIED PLAYING AROUND WITH THIS RAN INTO SOME ISSUES 

add :: Num a => (a, a) -> a
add (x, y) = x + y
add :: Num a => (a, a) -> a
add (x, y) = x + y
add (x, y) = x + y