File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ when there are no arguments on the same line as the function name.
259259 (foo x 1 ))
260260 ([x y]
261261 (+ x y)))
262- ```
262+ ```
263263
264264* <a name=" multiple-arity-order" ></a> Sort the arities of a function
265265 from fewest to most arguments. The common case of multi-arity
@@ -281,18 +281,18 @@ when there are no arguments on the same line as the function name.
281281 (defn foo
282282 " I have two arities."
283283 ([x y]
284- (+ x y))
284+ (+ x y))
285285 ([x]
286- (foo x 1 ))
287- ([x y z & more]
288- (reduce foo (foo x (foo y z)) more)))
289-
290- ; ; bad - unordered for no apparent reason
291- (defn foo
292- ([x] 1 )
293- ([x y z] (foo x (foo y z)))
294- ([x y] (+ x y))
295- ([w x y z & more] (reduce foo (foo w (foo x (foo y z))) more)))
286+ (foo x 1 ))
287+ ([x y z & more]
288+ (reduce foo (foo x (foo y z)) more)))
289+
290+ ; ; bad - unordered for no apparent reason
291+ (defn foo
292+ ([x] 1 )
293+ ([x y z] (foo x (foo y z)))
294+ ([x y] (+ x y))
295+ ([w x y z & more] (reduce foo (foo w (foo x (foo y z))) more)))
296296 ```
297297
298298* <a name=" align-docstring-lines" ></a>
You can’t perform that action at this time.
0 commit comments