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

Don't Export all of Classes.interfaces.abstract_algebra #1785

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

jdchristensen
Copy link
Collaborator

@jdchristensen jdchristensen commented Oct 17, 2023

Classes.interfaces.abstract_algebra exports Classes.interfaces.canonical names, which has a lot of things it. I didn't want to change that export, since I'd have to fix a lot in the Classes library.

Instead, I adjusted the few files that exported abstract_algebra to either not do so, or do so very selectively. This avoids putting all of the names and notations from Classes into the HoTT namespace. For example, the Classes Join was conflicting with the Join we have, and the Classes Join was the winner. Lots of files touched, but mainly because they need Basics and Types added in (and sometimes Truncations.Core), since canonical_names exports those.

This avoids putting all of the names and notations from Classes
into the HoTT namespace.
@jdchristensen jdchristensen requested a review from Alizter October 17, 2023 21:59
@jdchristensen
Copy link
Collaborator Author

@Alizter Do you think this is good now?

Copy link
Collaborator

@Alizter Alizter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems better to me.

@jdchristensen jdchristensen merged commit 7104ce2 into HoTT:master Oct 18, 2023
@jdchristensen jdchristensen deleted the limit-classes-export branch October 18, 2023 20:38
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