Skip to content

Commit 81d00ea

Browse files
committed
Remove tab characters to correct indentation in multi-arity examples
1 parent 3fc09ea commit 81d00ea

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)