Skip to content

Commit

Permalink
Add return type in Traverse example
Browse files Browse the repository at this point in the history
As with #1185 the return type is referred to in following line but not in the code example
  • Loading branch information
richardmiller authored Jul 13, 2016
1 parent 579e0b4 commit dfbf82d
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 dfbf82d

Please sign in to comment.