Skip to content

Commit

Permalink
Merge pull request #503 from AlejandroBudy/readme-typo
Browse files Browse the repository at this point in the history
Fix: typos in readme
  • Loading branch information
danicheg authored Jun 26, 2024
2 parents 51bda97 + 7ea1392 commit 2c56325
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ scala> val foption = List(Option(1), Option(2), Option(4)).mapIn(_ * 2)
foption: List[Option[Int]] = List(Some(2), Some(4), Some(8))

scala> val feither = List(Either.cond(true, 1, "0")).mapIn(_ * 2)
foption: List[Either[String, Int]] = List(Right(2))
feither: List[Either[String, Int]] = List(Right(2))

scala> val listOption = List(Option(1), Option(2)).mapNested2(_ * 2)
listOption: List[Option[Int]] = List(Some(2), Some(4))
Expand All @@ -120,7 +120,7 @@ scala> val tupleHead = (1, 2, 4, 8).head
tupleHead: Int = 1

scala> val tupleLast = (1, 2, 4, 8).last
tupleHead: Int = 8
tupleLast: Int = 8

scala> Set(0).tailOrEmpty
val res3: Set[Int] = Set()
Expand Down

0 comments on commit 2c56325

Please sign in to comment.