In functional languages list operations like length, map, and reduce are very common. Implement a series of basic list operations, without using existing functions.
So we should make sure no List function is used, only recursion and pattern matching.
The exercise description says:
So we should make sure no
List
function is used, only recursion and pattern matching.