Files
ports/lang/clojure/files/clj_completions.clj
op 66e6abf903 update lang/clojure to 1.11.1.1107
While here also set NO_BUILD and tweak the clj_completions.clj script.
I'm taking the maintainership of the port too.

ok solene@
2022-04-25 11:37:06 +00:00

8 lines
211 B
Clojure

(def completions
(mapcat (comp keys ns-publics) (all-ns)))
(with-open [f (java.io.FileWriter. "files/clj_completions")]
(binding [*out* f]
(doseq [c (-> completions sort distinct)]
(println c))))