From f0277ced4f22c08b86e71413ef03ec8cd619394e Mon Sep 17 00:00:00 2001 From: David Orme Date: Fri, 12 Apr 2024 13:53:53 -0500 Subject: [PATCH] Reformat (switched back to Emacs for editing) --- src/righttypes/types.clj | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/righttypes/types.clj b/src/righttypes/types.clj index dd9b7ec..130cac5 100644 --- a/src/righttypes/types.clj +++ b/src/righttypes/types.clj @@ -634,12 +634,13 @@ this default is that optional map keys with typos won't be automatically detecte (defmacro indexed - [map-ctor index-key] - (let [line-col (seq (meta &form)) - pretty (fn [x] (if (instance? clojure.lang.Named x) (name x) (pr-str x))) - ctor-src (pretty map-ctor) - sourceinfo (str (.getName *ns*) line-col ": Failure creating (indexed " ctor-src " " index-key ")")] - `(indexed' ~map-ctor ~sourceinfo ~index-key))) + "" + [map-ctor index-key] + (let [line-col (seq (meta &form)) + pretty (fn [x] (if (instance? clojure.lang.Named x) (name x) (pr-str x))) + ctor-src (pretty map-ctor) + sourceinfo (str (.getName *ns*) line-col ": Failure creating (indexed " ctor-src " " index-key ")")] + `(indexed' ~map-ctor ~sourceinfo ~index-key))) #_{:clj-kondo/ignore [:unused-value :unused-binding]}