From dfbf82de606f35ad9f95c6d8bd92afef6465717b Mon Sep 17 00:00:00 2001 From: Richard Miller Date: Wed, 13 Jul 2016 10:28:50 +0100 Subject: [PATCH] Add return type in Traverse example As with #1185 the return type is referred to in following line but not in the code example --- docs/src/main/tut/traverse.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/tut/traverse.md b/docs/src/main/tut/traverse.md index c9f4022995..851d130cb5 100644 --- a/docs/src/main/tut/traverse.md +++ b/docs/src/main/tut/traverse.md @@ -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) ```