Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added some note for an unreleased class name Tuple2K fixes #1687

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/src/main/tut/datatypes/freeapplicative.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ case for monads.

Therefore, we can write an interpreter that uses the product of the `ParValidator` and `Log` `Applicative`s
to interpret our program in one go. We can create this interpreter easily by using `FunctionK#and`.
Note that this `product` is a higher kinded one, hence the name `Tuple2K`. It was renamed from `Prod` after
0.9.0.

```tut:silent
import cats.data.Tuple2K
Expand Down
1 change: 1 addition & 0 deletions docs/src/main/tut/datatypes/freemonad.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ The injection type class described by Swierstra in [Data types à la carte](http
lets us compose different algebras in the context of `Free`.

Let's see a trivial example of unrelated ADT's getting composed as a `EitherK` that can form a more complex program.
Note that `EitherK` was renamed from `Coproduct` and `InjectK` was renamed from `Inject` after 0.9.0.

```tut:silent
import cats.data.EitherK
Expand Down