diff --git a/u2/list_ops.py b/u2/list_ops.py index 068983e..248dc48 100644 --- a/u2/list_ops.py +++ b/u2/list_ops.py @@ -1,4 +1,3 @@ - def append(list1, list2): result = [] for item in list1: @@ -24,4 +23,14 @@ def length(l): result = 0 for item in l: result +=1 - return result \ No newline at end of file + return result + +def map(function, list): + + +def foldl(function, list, initial): + + +def foldr(function, list, initial): + +def reverse(list):