Skip to content
New issue

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

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

Already on GitHub? # to your account

Type signature of outside on cheat sheet is wrong #1078

Open
turion opened this issue Oct 7, 2024 · 1 comment
Open

Type signature of outside on cheat sheet is wrong #1078

turion opened this issue Oct 7, 2024 · 1 comment

Comments

@turion
Copy link

turion commented Oct 7, 2024

The type signature on the cheat sheet says:

outside :: Prism s t a b -> Lens (s -> r) (t -> r) (a -> r) (b -> r)

But in fact s and t, and a and b should be swapped:

outside :: Prism s t a b -> Lens (t -> r) (s -> r) (b -> r) (a -> r)
@turion
Copy link
Author

turion commented Oct 7, 2024

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant