3 lines
56 B
Haskell
3 lines
56 B
Haskell
|
myReverse :: [a] -> [a]
|
||
|
myReverse = foldl (flip (:)) []
|