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

Why Applicative_Fun instance is local? #88

Closed
vzaliva opened this issue May 29, 2020 · 2 comments
Closed

Why Applicative_Fun instance is local? #88

vzaliva opened this issue May 29, 2020 · 2 comments

Comments

@vzaliva
Copy link
Contributor

vzaliva commented May 29, 2020

We have Local Instance Applicative_Fun in ExtLib/Data/Fun.v. This makes it undiscoverable during typeclass search and I have to write:

liftA2 (AT:=(Applicative_Fun _)) f x y

instead of just:

liftA2 f x y

@gmalecha
Copy link
Collaborator

Let's try to make it global. I think I was potentially worried about it unifying too many places and therefore being difficult to use.

@vzaliva
Copy link
Contributor Author

vzaliva commented Jun 2, 2020

what about Functor_Fun and the rest of the instances in Fun.v?

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

No branches or pull requests

2 participants