diff --git a/common/src/app/common/data.cljc b/common/src/app/common/data.cljc index 80268f617e..5e7ae75cf3 100644 --- a/common/src/app/common/data.cljc +++ b/common/src/app/common/data.cljc @@ -33,6 +33,12 @@ (def boolean-or-nil? (some-fn nil? boolean?)) +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Commonly used transducers +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(def xf:map-id (map :id)) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Data Structures ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;