File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -678,18 +678,18 @@ pairwise constructs as found in e.g. `let` and `cond`.
678678 ```Clojure
679679 ;; good
680680 (-> [1 2 3]
681- reverse
682- (conj 4)
683- prn)
681+ reverse
682+ (conj 4)
683+ prn)
684684
685685 ;; not as good
686686 (prn (conj (reverse [1 2 3])
687687 4))
688688
689689 ;; good
690690 (->> (range 1 10)
691- (filter even?)
692- (map (partial * 2)))
691+ (filter even?)
692+ (map (partial * 2)))
693693
694694 ;; not as good
695695 (map (partial * 2)
@@ -793,14 +793,12 @@ hints for the pairwise grouping with comments or empty lines.
793793(test1)
794794(long-function-name-which-requires-a-new-line
795795 (complicated-sub-form
796- (-> 'which-spans
797- multiple-lines)))
796+ (-> 'which-spans multiple-lines)))
798797
799798(test2)
800799(another-very-long-function-name
801800 (yet-another-sub-form
802- (-> 'which-spans
803- multiple-lines)))
801+ (-> 'which-spans multiple-lines)))
804802
805803 :else
806804 (the-fall-through-default-case
You can’t perform that action at this time.
0 commit comments