Skip to content

Commit

Permalink
Use juxt where idiomatic
Browse files Browse the repository at this point in the history
  • Loading branch information
vemv committed Feb 16, 2022
1 parent 9fe009b commit 2962e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/refactor_nrepl/ns/libspecs.clj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

(defn- aliases [libspecs]
(->> libspecs
(map #(vector (:as %) (:ns %)))
(map (juxt :as :ns))
(remove #(nil? (first %)))
distinct))

Expand Down

0 comments on commit 2962e3e

Please sign in to comment.