-- Problem 1
-- Find the last element of a list.
last' :: [a] -> a
last' [] = error "Please provide a list with at least one element"
last' :: [a] -> a
last' [] = error "Please provide a list with at least one element"
last' [] = error "Please provide a list with at least one element"