module Rev; def List append(List xs, List ys) = case xs { Nil => ys; Cons(x,xsP) => Cons(x, append(xsP, ys)); }; def List rev(List xs) = case xs { Nil => Nil; Cons(x,xsP) => append(rev(xsP), Cons(x,Nil)); }; def List start(List xs) = rev(xs); { }