Skip to content

Commit

Permalink
Correctly close a tut:silent block in faq (#2026)
Browse files Browse the repository at this point in the history
  • Loading branch information
vendethiel authored and kailuowang committed Nov 13, 2017
1 parent 31874ce commit 390c40d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/main/tut/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ We can even perform more complicated operations, such as a `traverse` of the nes
import cats.data.ValidatedNel
type ErrorsOr[A] = ValidatedNel[String, A]
def even(i: Int): ErrorsOr[Int] = if (i % 2 == 0) i.validNel else s"$i is odd".invalidNel
```

```tut:book
nl.traverse(even)
Expand Down

0 comments on commit 390c40d

Please sign in to comment.