Monday, May 30, 2011

Reverse a List

rev::[Int]->[Int]
rev (x:xs) = reverse (x:xs)

No comments:

Post a Comment