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