Skip to content

Commit

Permalink
Less redundant keys
Browse files Browse the repository at this point in the history
  • Loading branch information
zampino committed Jan 9, 2024
1 parent 75bd0f8 commit 2cd042f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nextjournal/clerk/analyzer.clj
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
(if var var id))

(defn ->ana-keys [{:as analyzed :keys [form vars id]}]
(concat vars [(->key analyzed)]))
(conj (set vars) (->key analyzed)))

#_(->> (nextjournal.clerk.eval/eval-string "(rand-int 100) (rand-int 100) (rand-int 100)") :blocks (mapv #(-> % :result :nextjournal/value)))

Expand Down

0 comments on commit 2cd042f

Please sign in to comment.