Anonymous user
Read a configuration file: Difference between revisions
m
Comment cleanup
(New Clojure solution; removed old solution and warning) |
m (Comment cleanup) |
||
Line 810:
=={{header|Clojure}}==
<lang clojure>(ns read-conf-file.core
(:require [clojure.java.io :as io]
Line 840 ⟶ 839:
(defn mk-conf
"Build configuration map from
[lines]
(->> (map parse-line lines)
|