Skip to content

Commit

Permalink
Missed syntax import for XorT doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
adelbertc committed Jan 10, 2016
1 parent 57824dd commit 843d7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/cats/data/XorT.scala
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ final case class XorT[F[_], A, B](value: F[A Xor B]) {
* {{{
* scala> import cats.std.option._
* scala> import cats.std.list._
* scala> import cats.syntax.monoidal._
* scala> import cats.syntax.semigroupal._
* scala> type Error = String
* scala> val v1: Validated[NonEmptyList[Error], Int] = Validated.Invalid(NonEmptyList("error 1"))
* scala> val v2: Validated[NonEmptyList[Error], Int] = Validated.Invalid(NonEmptyList("error 2"))
Expand Down

0 comments on commit 843d7c5

Please sign in to comment.