Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manuscript/ch4.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function uniqueWords(str) {
`uniqueWords(..)` takes a string and returns an array. It's a composition of the two functions: `unique(..)` and `words(..)`; it creates this flow of data:

```txt
wordsUsed <-- unique <-- words <-- text
uniqueWords <-- unique <-- words <-- text
```

You probably recognize it by now: the unfolding revolution in candy factory design is function composition.
Expand Down