Skip to content
Browse files

use interpose instead of interleave

  • Loading branch information...
1 parent a698e5f commit 78fa4beadb9d35cdabf83ea7e2671d272c234a68 Takahiro Hozumi committed Jul 8, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/leiningen/hicv.clj
View
3 src/leiningen/hicv.clj
@@ -42,8 +42,7 @@
(str "#" id))
(when class
(apply str
- (interleave (repeat ".")
- (re-seq #"\w+" class)))))))
+ (interpose \. (re-seq #"\w+" class)))))))
(defn- enlive-node2hiccup [node]
(if (map? node)

0 comments on commit 78fa4be

Please sign in to comment.
Something went wrong with that request. Please try again.