File: gencompletions.clj

package info (click to toggle)
clojure1.2 1.2.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,904 kB
  • sloc: java: 23,512; xml: 256; sh: 98; makefile: 35
file content (5 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (2)
1
2
3
4
5
(def completions
    (reduce concat (map (fn [p] (keys (ns-publics (find-ns p))))
                        '(clojure.core clojure.set clojure.xml clojure.zip))))
 
(print (apply str (interleave completions (repeat "\n"))))