Skip to content

Commit

Permalink
Merge pull request #370 from Kevin-Lee/prepare-to-release
Browse files Browse the repository at this point in the history
extras v0.37.0
  • Loading branch information
kevin-lee authored Mar 12, 2023
2 parents 318ad1d + d70f293 commit 67264eb
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions changelogs/0.37.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## [0.37.0](https://github.com/Kevin-Lee/extras/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aclosed+-label%3Ainvalid+milestone%3Amilestone38) - 2023-03-13

## Changes
* [`extras-cats`] Fix `innerFold` and `innerFoldF` for `F[Either[A, B]]` to have the same method signature as `Either`'s (#368)
* `innerFold`
```scala
def innerFold[D](ifLeft: => D)(f: B => D)(implicit F: Functor[F]): F[D]
```
to
```scala
def innerFold[D](forLeft: A => D)(forRight: B => D)(implicit F: Functor[F]): F[D]
```

* `innerFoldF`
```scala
def innerFoldF[D](ifLeft: => F[D])(f: B => F[D])(implicit F: FlatMap[F]): F[D]
```
to
```scala
def innerFoldF[D](forLeft: A => F[D])(forRight: B => F[D])(implicit F: FlatMap[F]): F[D]
```

0 comments on commit 67264eb

Please sign in to comment.