You are viewing a single comment's thread. Return to all comments →
A simple Haskell solution :
rev [] = [] rev l = rev ( tail l ) ++ [head l]
Reverse a List
You are viewing a single comment's thread. Return to all comments →
A simple Haskell solution :