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

Migrating map and zip from Function.Inverse to Function.Construct.X #1980

Closed
Saransh-cpp opened this issue Jun 13, 2023 · 6 comments
Closed

Comments

@Saransh-cpp
Copy link
Contributor

Related to #759

I am planning to move zip and map from Function.Inverse to Function.Construct.X, and I wanted to discuss their new module locations. Function.Construct right now includes Symmetry, Identity, and Composition, but I am not sure which of these files should zip and map be moved to, or if I should create a new file for them.

I also could not entirely understand zip and map. I do understand the standard zip and map but could not really understand the definitions in Function.Inverse.

Thanks!

@JacquesCarette
Copy link
Contributor

The names of map and zip here are, at best, misleading. There's no real structure to map on to. (Well, map is a kind of homomorphism, but surely there's a nicer packaging of this.)

Are these used anywhere?

@Saransh-cpp
Copy link
Contributor Author

They aren't being used anywhere. Should they just be deprecated and removed, instead of moving them somewhere else?

@JacquesCarette
Copy link
Contributor

That would be my feeling - but let's see what @MatthewDaggitt says.

@jamesmckinna
Copy link
Contributor

We discussed this this morning, but I don't unfortunately recall what our eventual decision was...

@Taneb
Copy link
Member

Taneb commented Oct 4, 2023

I believe @MatthewDaggitt said he would look into it

@MatthewDaggitt
Copy link
Contributor

Yup agreed. These are just weird, and they don't make much sense in the new hierarchy. Just going to leave them without alternatives and see if we get any complaints.

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

5 participants