Skip to content

[Discussion]: Moving setoid, ≡-setoid, and flip away from Function.Equality #1996

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

Closed
Saransh-cpp opened this issue Jun 19, 2023 · 2 comments

Comments

@Saransh-cpp
Copy link
Contributor

Related to #759

Now that agda-stdlib has a Function.Indexed directory, I think it would be nice to migrate setoid, ≡-setoid, and flip to the new hierarchy.

Along with these, I am unsure if other functions in Function.Equality must also be migrated somewhere. The issue mentions - "Missing an indexed function variant. Should go in a new hierarchy Function.Dependent.(Structures/Bundles)" - but I'm not sure if I understand that very well. Should the operators and functions not involving IndexedSetoid have a new indexed version of themselves in a different module, or should the indexed functions be moved to Function.Dependent.(Structures/Bundles)?

Moreover, should I start by moving _⇨_, Π, _⟶_, setoid, and ≡-setoid to Function.Indexed.Relation.Binary.Equality, given that all of them have IndexedSetoid involved within their definitions?

Thanks!

@MatthewDaggitt
Copy link
Contributor

The remaining unported functions in Function.Equality are setoid, _⇨_, ≡-setoid, flip and →-to-⟶. Once again, they're slightly weird constructs so I think I'm going to omit them, and see if we get any complaints.

@JacquesCarette
Copy link
Contributor

The first two (setoid, _⇨_) ,were needed, so there's now PRs for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants