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

Fixes misleading contramap example #1128

Merged

Conversation

vendamere
Copy link
Contributor

The current version in the documentation only works because the values are incorrectly transposed and are of the same type. This update calls out that the case class needs to be ordered the same way for the proper Iso instance to be derived.

It seems like exposing something along of the lines of Hlist's rotate functions might be useful.

The current version in the documentation old works because the values
are incorrectly transposed and are of the same type. This update calls
out that the case class needs to be ordered the same way for the proper
Iso instance to be derived.

It seems like exposing something along of the lines of Hlist's `rotate`
functions might be useful.
@mpilquist mpilquist merged commit 8ee74a1 into typelevel:main Nov 20, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants