Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 341 Bytes
(when-let [run-swank (System/getenv "LABREPL_SWANK")]
(println "Starting swank...")
;; Drop the enclosing double quotes from the environment variable and eval it.
(load-string (if-let [found (re-find #"^\"(.*)\"$" run-swank)]
(second found)
run-swank)))
(use 'clojure.repl)
(set! *print-length* 500)
Something went wrong with that request. Please try again.