Skip to content

Commit

Permalink
fix: tuple/select-attrs accidentally used local name instead of cloju…
Browse files Browse the repository at this point in the history
…re.core/name
  • Loading branch information
KingMob committed Apr 12, 2024
1 parent de33161 commit f7adbed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/inferenceql/query/tuple.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
(map? x))

(defn select-attrs
"Retrives tuple `tup` with only the attributes in `attrs`."
"Retrieves tuple `tup` with only the attributes in `attrs`."
[tup attrs]
(let [names (into #{} (map name) attrs)]
(medley/filter-keys (comp names name)
(let [names (into #{} (map clojure.core/name) attrs)]
(medley/filter-keys (comp names clojure.core/name)
tup)))

(defn ->map
Expand Down

0 comments on commit f7adbed

Please sign in to comment.