Skip to content

Instantly share code, notes, and snippets.

Created November 10, 2011 22:59
Show Gist options
  • Save anonymous/1356550 to your computer and use it in GitHub Desktop.
Save anonymous/1356550 to your computer and use it in GitHub Desktop.
;; mattyw's solution to Reverse a Sequence
;; https://4clojure.com/problem/23
(fn [seq] (reduce (fn [a b] (cons b a)) '() seq))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment