This is great. My first thought was "perfect, Haskell!"
reverse "whatever"
"No reverse function? but we can use the internet? The Prelude source probably has the best implementation of a reverse."
foldl (flip (:)) [] "whatever"
reverse "whatever"
"No reverse function? but we can use the internet? The Prelude source probably has the best implementation of a reverse."
foldl (flip (:)) [] "whatever"
No comments yet.