Skip to content

Instantly share code, notes, and snippets.

Created December 8, 2011 07:10
Show Gist options
  • Save anonymous/1446355 to your computer and use it in GitHub Desktop.
Save anonymous/1446355 to your computer and use it in GitHub Desktop.
;; flengyel's solution to Juxtaposition
;; https://4clojure.com/problem/59
(fn [x & xs]
(fn [y & ys] (vec (for [f (vec (concat [x] xs))] (apply f (vec (concat [y] ys)))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment