Renzokuken
Saved
Nekukozner.
reverse :: String -> String
reverse [] = []
reverse (x:xs) = reverse(xs) ++ [x]
:- reverse x42bn6
Heh, cheater. Anyone could easily write a program to reverse a character sequence.Er, alright... +1, anyone?
*PHP:reverse :: String -> String reverse [] = [] reverse (x:xs) = reverse(xs) ++ [x] :- reverse x42bn6