Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9c11599

Browse files
equwaltrptcolin
authored andcommitted
Fixed whitespace: trailing and indent.
1 parent3afe01a commit9c11599

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/koans/25_threading_macros.clj‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@
3939
:e5})
4040
(update-in [:c:e] inc)
4141
(get-in [:c:e])))
42-
42+
4343
"We can use functions we have written ourselves that follow this pattern"
4444
(= __
4545
(-> {}
4646
(assoc:a1)
4747
(function-that-takes-a-map"hello""there")))
48-
48+
4949
"We can also thread last using ->>"
5050
(= __
5151
(->> [123]

‎src/koans/26_transducers.clj‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
(deftransforms
88
(comp (map inc)
9-
(filter even?)))
9+
(filter even?)))
1010

1111
(meditations
1212
"A sequence operation with only one argument often returns a transducer"
@@ -20,7 +20,7 @@
2020
"We can do this eagerly"
2121
(= __
2222
(into [] transforms [123]))
23-
23+
2424
"Or lazily"
2525
(= __
2626
(sequence transforms [123]))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp