Skip to content

Instantly share code, notes, and snippets.

@visibletrap
Last active February 23, 2018 09:53
Show Gist options
  • Select an option

  • Save visibletrap/af6ba33c6a44bf97b7b013cd7441fbce to your computer and use it in GitHub Desktop.

Select an option

Save visibletrap/af6ba33c6a44bf97b7b013cd7441fbce to your computer and use it in GitHub Desktop.
$ clojure -Sdeps '{:deps {gist-test {:git/url "https://gist.github.com/vi…/af6ba33c6a44bf97b7b013cd7441fbce" :sha "0adfc540f25ec7a9c7fc7972935025e10b5238ac"}}}' -m gist-test
{:paths ["."]
:deps {org.clojure/math.combinatorics {:mvn/version "0.1.4"}}}
(ns gist-test
(:require [clojure.math.combinatorics :as combo]))
(defn -main []
(println "Hello from Gist")
(println "Permutations of 1,2,3:" (combo/permutations [1 2 3])))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment