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

Typo in example code? #24

Open
mattdiamond opened this issue Aug 16, 2021 · 0 comments
Open

Typo in example code? #24

mattdiamond opened this issue Aug 16, 2021 · 0 comments
Labels
type: documentation Improvements or additions to documentation.

Comments

@mattdiamond
Copy link

mattdiamond commented Aug 16, 2021

-- | bipure f g <<$>> x <<*>> y

Is this supposed to say bimap instead of bipure? It doesn't make much sense with bipure, as <<$>> is aliased to identity, and therefore you would be applying the bifunctor directly to x. However, the text specifically refers to bipure, so I'm a bit puzzled about what's going on here.

It could also work as bipure f g <<*>> x <<*>> y, but then it wouldn't make sense as example code for <<$>>.

@JordanMartinez JordanMartinez added the type: documentation Improvements or additions to documentation. label Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation Improvements or additions to documentation.
Projects
None yet
Development

No branches or pull requests

2 participants