From 556622c61206fc2c227fea38b87d30563259c90d Mon Sep 17 00:00:00 2001 From: Jasper Moeys Date: Thu, 23 May 2019 10:48:21 +0200 Subject: [PATCH] Edit example in Parallel docs The previous example didn't actually illustrate the parallel behavior of parSequence. --- docs/src/main/tut/typeclasses/parallel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/tut/typeclasses/parallel.md b/docs/src/main/tut/typeclasses/parallel.md index 7f9390c872..1a07568550 100644 --- a/docs/src/main/tut/typeclasses/parallel.md +++ b/docs/src/main/tut/typeclasses/parallel.md @@ -86,7 +86,7 @@ def parsePerson(ageString: String, nameString: String) = We can also traverse over a `Traverse` using `Parallel`: ```tut -List(Either.left(42), Either.right(NonEmptyList.one("Error 1")), Either.right(NonEmptyList.one("Error 2"))).parSequence +List(Either.right(42), Either.left(NonEmptyList.one("Error 1")), Either.left(NonEmptyList.one("Error 2"))).parSequence ```