Skip to content

Commit

Permalink
Merge pull request #1189 from richardmiller/patch-3
Browse files Browse the repository at this point in the history
Add return type in Traverse example
  • Loading branch information
ceedubs authored Jul 13, 2016
2 parents 579e0b4 + dfbf82d commit bbd5057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/tut/traverse.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Corresponding to our bunches of data are bunches of topics, a `List[Topic]` if y
Since `Reader` has an `Applicative` instance, we can `traverse` over this list with `processTopic`.

```tut:silent
def processTopics(topics: List[Topic]) =
def processTopics(topics: List[Topic]): Job[List[Result]] =
topics.traverse(processTopic)
```

Expand Down

0 comments on commit bbd5057

Please sign in to comment.