Jump to content

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}}==
Tested with Clojure 1.9.0
<lang clojure>(ns read-conf-file.core
(:require [clojure.java.io :as io]
Line 840 ⟶ 839:
 
(defn mk-conf
"Build configuration map from parsed lines."
[lines]
(->> (map parse-line lines)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.