We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d64d4f9 commit a465607Copy full SHA for a465607
src/java_time/single_field.cljc
@@ -43,9 +43,8 @@
43
`(do
44
(def ~fields
45
(->> (jt.u/class->TemporalAccessor-static-fields ~tp)
46
- (vals)
47
- (map (fn [m#] [(keyword (string/lower-case (str m#))) m#]))
48
- (into {})))
+ vals
+ (into {} (map (fn [m#] [(keyword (string/lower-case (str m#))) m#])))))
49
50
(defn ^{:doc ~(str "True if `" tp "`.")} ~(symbol (str fname "?"))
51
[o#]
0 commit comments