Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save flengyel/1446357 to your computer and use it in GitHub Desktop.
Save flengyel/1446357 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