diff options
author | scgilardi <scgilardi@gmail.com> | 2008-08-06 18:34:42 +0000 |
---|---|---|
committer | scgilardi <scgilardi@gmail.com> | 2008-08-06 18:34:42 +0000 |
commit | b907de62730004c95585253e816628fa639020e4 (patch) | |
tree | 93f178f0a60f219d3a1e7ac11c1358e438e3d0ee | |
parent | cbc4590d078ca365e55c4c67ae8c03fb5c223787 (diff) |
lib.clj: (dorun (map ... -> (doseq ...
-rw-r--r-- | lib/lib.clj | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/lib.clj b/lib/lib.clj index daa61ea3..c97a17a5 100644 --- a/lib/lib.clj +++ b/lib/lib.clj @@ -259,9 +259,8 @@ (when *verbose* (printf "(clojure/in-ns '%s)\n" (ns-name *ns*)) (printf "(clojure/refer '%s" namespace) - (dorun (map - #(printf " %s '%s" (key %) (print-str (val %))) - filter-opts)) + (doseq opt filter-opts + (printf " %s '%s" (key opt) (print-str (val opt)))) (printf ")\n")) (apply refer namespace (mapcat seq filter-opts)))))) |