Skip to content

Commit

Permalink
Edit example in Parallel docs (#2855)
Browse files Browse the repository at this point in the history
The previous example didn't actually illustrate the parallel behavior of parSequence.
  • Loading branch information
Jasper-M authored and kailuowang committed May 23, 2019
1 parent f7e5b6f commit c467b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/tut/typeclasses/parallel.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```


Expand Down

0 comments on commit c467b4b

Please sign in to comment.