Skip to content

Commit 8ea67dc

Browse files
committed
Fix typo in "Appendix A: Transducing"
1 parent af1a413 commit 8ea67dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apA.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function isShortEnoughReducer(list,str) {
132132
words
133133
.reduce( strUppercaseReducer, [] )
134134
.reduce( isLongEnoughReducer, [] )
135-
.reduce( isShortEnough, [] )
135+
.reduce( isShortEnoughReducer, [] )
136136
.reduce( strConcat, "" );
137137
// "WRITTENSOMETHING"
138138
```
@@ -193,7 +193,7 @@ Our chain still looks the same:
193193
words
194194
.reduce( strUppercaseReducer, [] )
195195
.reduce( isLongEnoughReducer, [] )
196-
.reduce( isShortEnough, [] )
196+
.reduce( isShortEnoughReducer, [] )
197197
.reduce( strConcat, "" );
198198
```
199199

0 commit comments

Comments
 (0)