Skip to content

Instantly share code, notes, and snippets.

@uvtc
Created October 9, 2013 01:07
Show Gist options
  • Save uvtc/6894554 to your computer and use it in GitHub Desktop.
Save uvtc/6894554 to your computer and use it in GitHub Desktop.
Running this via lein-exec, and also, without it.
(require 'leiningen.exec)
(leiningen.exec/deps '[[org.clojure/math.combinatorics "0.0.4"]])
(require '[clojure.math.combinatorics :as combo])
(println
(combo/combinations [1 2 3] 2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment